From: Sebastian Andrzej Siewior Date: Tue, 27 May 2014 16:14:34 +0000 (+0200) Subject: perf script: Handle the num array type in python properly X-Git-Tag: omap-for-v3.17/fixes-against-rc2~178^2~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ac631cd502d6b31fd29f6d019305305b479fa3e;p=pandora-kernel.git 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 Acked-by: Namhyung Kim Link: http://lkml.kernel.org/n/1401207274-8170-2-git-send-email-bigeasy@linutronix.de Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed