diff options
author | Arun Kalyanasundaram | 2017-07-22 00:04:22 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2017-07-26 03:43:21 +0200 |
commit | a641860550f05a4b8889dca61aab73c84b2d5e16 (patch) | |
tree | 05f75e875b9096f0e11af068d2341ca6d65f11db /tools/perf/util/db-export.c | |
parent | perf script python: Add perf_sample dict to tracepoint handlers (diff) | |
download | kernel-qcow2-linux-a641860550f05a4b8889dca61aab73c84b2d5e16.tar.gz kernel-qcow2-linux-a641860550f05a4b8889dca61aab73c84b2d5e16.tar.xz kernel-qcow2-linux-a641860550f05a4b8889dca61aab73c84b2d5e16.zip |
perf script python: Generate hooks with additional argument
Modify the signature of tracepoint specific and trace_unhandled hooks to
add the perf_sample dict as a new argument.
Create a python helper function to print a dictionary.
Signed-off-by: Arun Kalyanasundaram <arunkaly@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: David Carrillo-Cisneros <davidcc@google.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Seongjae Park <sj38.park@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20170721220422.63962-6-arunkaly@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/db-export.c')
0 files changed, 0 insertions, 0 deletions