]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf script python: Add sample_read to dict
authorArun Kalyanasundaram <arunkaly@google.com>
Fri, 21 Jul 2017 22:04:20 +0000 (15:04 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jul 2017 01:43:19 +0000 (22:43 -0300)
commit74ec14f3893c3065053b91cec850cffa2d565e0a
tree59bb340703d16f11b1c3795596ac7f1d8a527840
parent892e76b2e8c5e85e69514478e3319575a68b9770
perf script python: Add sample_read to dict

Provide time_enabled, time_running and counter value in the perf_sample
dict.

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-4-arunkaly@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/scripting-engines/trace-event-python.c