diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2022-01-17 16:09:28 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-01-18 12:24:58 +0000 |
| commit | 1855b796f2f672cbb25400be2d3171c26fc869a3 (patch) | |
| tree | 2ff7c9b38b3b6b7325767c3ce751503401665efc /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf probe: Fix ppc64 'perf probe add events failed' case (diff) | |
| download | kernel-1855b796f2f672cbb25400be2d3171c26fc869a3.tar.gz kernel-1855b796f2f672cbb25400be2d3171c26fc869a3.zip | |
perf affinity: Allow passing a NULL arg to affinity__cleanup()
Just like with free(), NULL is checked to avoid having all callers do
it.
Its convenient for when not using affinity setup/cleanup for dummy CPU
maps, i.e. CPU maps for pid targets.
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
