]> Git Repo - linux.git/commit
perf scripts python intel-pt-events: Delete unused 'event_attr variable
authorAlexander Pantyukhin <[email protected]>
Sat, 14 Jan 2023 13:05:33 +0000 (18:05 +0500)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 12 Apr 2023 15:19:42 +0000 (12:19 -0300)
commit984abd349d0f76d4b267abc0d8e1a86af3ec2d84
treef38b3b8d02186dce451ea84cec5220c661284141
parenteab5051788f6111adb88268a784af0c981616579
perf scripts python intel-pt-events: Delete unused 'event_attr variable

The 'event_attr' is never used later, the var is ok be deleted.

Additional code simplification is to substitute string slice comparison
with "substring" function. This case no need to know the length specific
words.

Signed-off-by: Alexander Pantyukhin <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/scripts/python/intel-pt-events.py
This page took 0.054534 seconds and 4 git commands to generate.