diff options
author | 2012-01-09 15:58:09 -0500 | |
---|---|---|
committer | 2012-07-04 13:40:30 +0900 | |
commit | aaf05c725bed1c7a8c940d9215662c78bea05dfd (patch) | |
tree | 54da02fec56da35c1ce9e27ad206b1c81a1ea4d0 /tools/perf/scripts/python/syscall-counts.py | |
parent | tools lib traceevent: Add support to show migrate disable counter (diff) | |
download | linux-dev-aaf05c725bed1c7a8c940d9215662c78bea05dfd.tar.xz linux-dev-aaf05c725bed1c7a8c940d9215662c78bea05dfd.zip |
tools lib traceevent: Fix %pM print format arg handling
When %pM is used, the arg value must be a 6 byte character that will
be printed as a 6 byte MAC address. But the code does a break over the
main code which updates the current processing arg to point to the
next arg. If there are other print arguments after a %pM, they will be
off by one. The next arg will still be processing the %pM arg.
Reported-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-q3g0n1espikynsdkpbi6ue6t@git.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions