pt-stalk prints the wrong variable name in verbose mode when --function is used

Bug #1156867 reported by Fernando Ipar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Low
Brian Fraser

Bug Description

If --function is used, Threads_running is printed as the variable being checked:

root@raspberrypi:/home/pi# ./pt-stalk --function trg_running_time --threshold 10 --verbose 3
2013_03_18_21_44_38 Starting ./pt-stalk --function=trg_running_time --variable=Threads_running --threshold=10 --match= --cycles=5 --interval=1 --iterations= --run-time=30 --sleep=300 --dest=/var/lib/pt-stalk --prefix= --notify-by-email= --log=/var/log/pt-stalk.log --pid=/var/run/pt-stalk.pid --plugin=
2013_03_18_21_44_38 Check results: Threads_running=0, matched=no, cycles_true=0

tags: added: pt-stalk wrong-output
Changed in percona-toolkit:
status: New → Confirmed
milestone: none → 2.2.2
Changed in percona-toolkit:
assignee: nobody → Brian Fraser (fraserbn)
importance: Undecided → Low
Brian Fraser (fraserbn)
Changed in percona-toolkit:
status: Confirmed → Fix Committed
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-794

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.