diff options
| author | Ian Rogers <irogers@google.com> | 2025-07-11 02:51:17 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-11 22:36:40 +0300 |
| commit | 8c75dc742089c702cab6d0f21be80c5ddd3c6067 (patch) | |
| tree | d89ffbd0be4636a1c5abd3f8a2e856d30d258d08 /tools/perf/builtin-script.c | |
| parent | bcc7693ad100ef9c778621edee2295b8c02f2271 (diff) | |
| download | linux-8c75dc742089c702cab6d0f21be80c5ddd3c6067.tar.xz | |
perf pmu: Tolerate failure to read the type for wellknown PMUs
If sysfs isn't mounted then we may fail to read a PMU's type. In this
situation resort to lookup of wellknown types. Only applies to
software, tracepoint and breakpoint PMUs.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250710235126.1086011-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
