aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2022-01-17 16:09:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-01-18 12:24:58 +0000
commit49de179577e7b05b57f625bf05cdc60a72de38d0 (patch)
tree21404b5c8dc4ba66b120a50c0121b9477f45907f /tools/perf/util/scripting-engines/trace-event-python.c
parentperf affinity: Allow passing a NULL arg to affinity__cleanup() (diff)
downloadkernel-49de179577e7b05b57f625bf05cdc60a72de38d0.tar.gz
kernel-49de179577e7b05b57f625bf05cdc60a72de38d0.zip
perf stat: No need to setup affinities when starting a workload
I.e. the simple: $ perf stat sleep 1 Uses a dummy CPU map and thus there is no need to setup/cleanup affinities to avoid IPIs, etc. With this we're down to a sched_getaffinity() call, in the libnuma initialization, that probably can be removed in a followup patch. Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[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]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions