aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2016-06-28 12:18:24 +0200
committerDavid S. Miller <[email protected]>2016-06-30 05:54:40 -0400
commitd79313303181d357d293453fb8486bdc87bfd2f4 (patch)
tree275cae8d173c2fdec0c95b9a797cb1ddad62f266 /tools/perf/scripts/python/event_analyzing_sample.py
parent1ca1cc98bf7418c680415bfce05699f67510a7fd (diff)
bpf, trace: fetch current cpu only once
We currently have two invocations, which is unnecessary. Fetch it only once and use the smp_processor_id() variant, so we also get preemption checks along with it when DEBUG_PREEMPT is set. Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions