summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2011-03-31 18:27:42 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-06-02 13:21:07 -0300
commite95cc02880947e9f77540b03e166470e8ac14cbc (patch)
tree500dca257ad17c606e96bd28d3f0d2aaedff9996 /samples
parentc2a70653af45c9cbb0cab900e8931b062e57b1ae (diff)
downloadtalos-obmc-linux-e95cc02880947e9f77540b03e166470e8ac14cbc.tar.gz
talos-obmc-linux-e95cc02880947e9f77540b03e166470e8ac14cbc.zip
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 <daahern@cisco.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> Link: http://lkml.kernel.org/r/1301588863-20210-1-git-send-email-fweisbec@gmail.com Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud