diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2022-04-11 09:17:58 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-04-13 13:00:31 +0300 |
commit | f034fc50d3c7d9385c20d505ab4cf56b8fd18ac7 (patch) | |
tree | d13274a272f3706a2a670948070f950ef9dd72a0 /tools/pcmcia | |
parent | a19944809fe9942e6a96292490717904d0690c21 (diff) | |
download | linux-f034fc50d3c7d9385c20d505ab4cf56b8fd18ac7.tar.xz |
perf tools: Fix misleading add event PMU debug message
Fix incorrect debug message:
Attempting to add event pmu 'intel_pt' with '' that may result in
non-fatal errors
which always appears with perf record -vv and intel_pt e.g.
perf record -vv -e intel_pt//u uname
The message is incorrect because there will never be non-fatal errors.
Suppress the message if the PMU is 'selectable' i.e. meant to be
selected directly as an event.
Fixes: 4ac22b484d4c79e8 ("perf parse-events: Make add PMU verbose output clearer")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20220411061758.2458417-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/pcmcia')
0 files changed, 0 insertions, 0 deletions