summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/expr.h
diff options
context:
space:
mode:
authorArun Kalyanasundaram2017-07-22 00:04:19 +0200
committerArnaldo Carvalho de Melo2017-07-26 03:43:19 +0200
commit892e76b2e8c5e85e69514478e3319575a68b9770 (patch)
tree9f64e8f02f52950f3dd7af35bc877fe1b995f8d3 /tools/perf/util/expr.h
parentperf script python: Allocate memory only if handler exists (diff)
downloadkernel-qcow2-linux-892e76b2e8c5e85e69514478e3319575a68b9770.tar.gz
kernel-qcow2-linux-892e76b2e8c5e85e69514478e3319575a68b9770.tar.xz
kernel-qcow2-linux-892e76b2e8c5e85e69514478e3319575a68b9770.zip
perf script python: Refactor creation of perf sample dict
Move the creation of the dict containing perf_sample entries into a helper function to enable its reuse in other sample processing routines. 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-3-arunkaly@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/expr.h')
0 files changed, 0 insertions, 0 deletions