]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Allow system-wide events to keep their own threads
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 24 May 2022 07:54:36 +0000 (10:54 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 May 2022 15:36:57 +0000 (12:36 -0300)
commitefbfd065aa77c208f0af38c1205369f68a64777c
tree6bec53064b34d0a28b9b393b71b5410922268ebc
parent667a9511d0b900d3df9b5e658313bd2175f629ea
perf tools: Allow system-wide events to keep their own threads

System-wide events do not have threads, so do not propagate threads to
them.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Link: https://lore.kernel.org/r/20220524075436.29144-16-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/evlist.c