pt-stalk spams warning if oprofile isn't installed
Bug #882918 reported by
Fernando Ipar
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Daniel Nichter |
Bug Description
This is just an inconvenience, but if oprofile is not installed on a system or /var/lib/oprofile doesn't exist, pt-stalk will print out warnings for every iteration, such as this:
2011_10_28_06_13_41 check results: Threads_connected = 1, matched = no, cycles_true = 0
find: /var/lib/
This doesn't affect behavior but it is an inconvenient and can be easily solved by discarding stderr on that cleanup 'find' command, as the attached patch does.
summary: |
- on pt-stalk, 'find' produces an error message when oprofile not - installed + pt-stalk spams warning if oprofile isn't installed |
tags: | added: spam |
Changed in percona-toolkit: | |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
From bug 824725:
Another warning I get is:
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.