aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2011-03-31 18:27:42 +0200
committerArnaldo Carvalho de Melo <[email protected]>2011-06-03 10:09:22 -0300
commitb273fa9716aa1564bee88ceee62f9042981cdc81 (patch)
tree06535a98fdf11d5a680d22a91b3013b412ca56f1 /tools/perf/util/scripting-engines/trace-event-python.c
parent56722381b8506733852c44dacf6d7bc5f90aedaf (diff)
perf python: Fix argument name list of read_on_cpu()
Mandatory arguments need to be present in the argument name list, as well as optional arguments, otherwise python barfs: # ./python/twatch.py Traceback (most recent call last): File "./python/twatch.py", line 41, in <module> main() File "./python/twatch.py", line 32, in main event = evlist.read_on_cpu(cpu) RuntimeError: more argument specifiers than keyword list entries Hence, add cpu to the name list. Cc: David Ahern <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions