diff options
| author | Ian Rogers <irogers@google.com> | 2025-07-19 06:05:12 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-24 23:41:35 +0300 |
| commit | cd63c22168257a0b0b59245394915e2488065f7d (patch) | |
| tree | 8069bf3b9dc38accefcae258805896394490c4fb /net/lapb/lapb_in.c | |
| parent | 3cb614a261e43a82acfef437c3242820c1444e2d (diff) | |
| download | linux-cd63c22168257a0b0b59245394915e2488065f7d.tar.xz | |
perf parse-events: Minor __add_event refactoring
Rename cpu_list to user_cpus. If a PMU isn't given, find it early from
the perf_event_attr. Make the pmu_cpus more explicitly a copy from the
PMU (except when user_cpus are given). Derive the cpus from pmu_cpus
and user_cpus as appropriate. Handle strdup errors on name and
metric_id.
Reviewed-by: Thomas Falcon <thomas.falcon@intel.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250719030517.1990983-11-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
