aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-12-06 04:40:32 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-12-09 20:52:41 +0000
commit4b8a7c0327e5657260c089df89632cdfaa53ecd1 (patch)
tree677ccd434d8bc5139c3cd9b4ebee4055572eacfe /tools/perf/util/scripting-engines/trace-event-python.c
parentlibperf cpumap: Be tolerant of newline at the end of a cpumask (diff)
downloadkernel-4b8a7c0327e5657260c089df89632cdfaa53ecd1.tar.gz
kernel-4b8a7c0327e5657260c089df89632cdfaa53ecd1.zip
perf pmu: Remove use of perf_cpu_map__read()
Remove use of a FILE and switch to reading a string that is then passed to perf_cpu_map__new(). Being able to remove perf_cpu_map__read() avoids duplicated parsing logic. Reviewed-by: Leo Yan <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ben Gainey <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Kyle Meyer <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions