summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-05-27 16:14:34 (GMT)
committerJiri Olsa <jolsa@kernel.org>2014-06-27 09:15:02 (GMT)
commit8ac631cd502d6b31fd29f6d019305305b479fa3e (patch)
tree0ede6411a6e0b2abf11adb3dc07e4437237d3374 /mm
parent33058b948e545a911e388e69b8be7274da158fb6 (diff)
downloadlinux-8ac631cd502d6b31fd29f6d019305305b479fa3e.tar.xz
perf script: Handle the num array type in python properly
The raw_syscalls:sys_enter tracer for instance passes has one argument named 'arg' which is an array of 6 integers. Right the python scripts gets only 0 passed as an argument. The reason is that pevent_read_number() can not handle data types of 48 and returns always 0. This patch changes this by passing num array as list of nums which fit the description. As a result python will now see a list named arg which contains 6 (integer) items. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/n/1401207274-8170-2-git-send-email-bigeasy@linutronix.de Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions