[PATCH 0/4] perf tools: Remove needless affinity setup/cleanup for pid targets

From: Arnaldo Carvalho de Melo
Date: Mon Jan 17 2022 - 11:10:04 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Hi,

Continuing with the removal of needless affinity setup/cleanup
for pid targets, please ack.

- Arnaldo

Arnaldo Carvalho de Melo (4):
perf affinity: Allow passing a NULL arg to affinity__cleanup()
perf stat: No need to setup affinities when starting a workload
perf evlist: No need to setup affinities when enabling events for pid
targets
perf evlist: No need to setup affinities when disabling events for pid
targets

tools/perf/builtin-stat.c | 17 ++++++++++-------
tools/perf/util/affinity.c | 8 +++++++-
tools/perf/util/evlist.c | 28 ++++++++++++++++++----------
3 files changed, 35 insertions(+), 18 deletions(-)

--
2.34.1