summaryrefslogtreecommitdiffstats
path: root/tools/wmi
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-01-17 17:09:28 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-01-18 13:24:58 +0100
commit1855b796f2f672cbb25400be2d3171c26fc869a3 (patch)
tree2ff7c9b38b3b6b7325767c3ce751503401665efc /tools/wmi
parentperf probe: Fix ppc64 'perf probe add events failed' case (diff)
downloadlinux-1855b796f2f672cbb25400be2d3171c26fc869a3.tar.xz
linux-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 <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20220117160931.1191712-2-acme@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/wmi')
0 files changed, 0 insertions, 0 deletions