]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Separate missing feature disabling from evsel__open_cpu
authorRiccardo Mancini <rickyman7@gmail.com>
Sat, 21 Aug 2021 09:19:23 +0000 (11:19 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 31 Aug 2021 19:34:03 +0000 (16:34 -0300)
commitca3e1193f10c7e5b270e2b726775a2b7226dfb46
tree84e99af42dcf7623ddc7da0dd341691eb1f172b2
parenta4e6339db2906bf915d3ee9203146f4c03b303fd
perf evsel: Separate missing feature disabling from evsel__open_cpu

This is a preparatory patch for the patches in the workqueue series with
the goal to separate in evlist__open_cpu() the actual opening, which
could be performed in parallel, from the existing fallback mechanisms,
which should be handled sequentially.

This patch separates the disabling of missing features from
evlist__open_cpu() into a new function evsel__disable_missing_features(().

Signed-off-by: Riccardo Mancini <rickyman7@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/48138bd2932646dde315505da733c2ca635ad2ee.1629490974.git.rickyman7@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c