mirror of
https://github.com/torvalds/linux.git
synced 2026-11-10 17:11:02 +01:00
Add logic to dynamically identify mergeable events spawned from the same wildcard alias via first_wildcard_match. first_wildcard_match is populated when events are parsed, in `perf report` the events come from a file and so the first_wildcard_match is computed by matching event names. evlist__can_merge_hybrid only tests whether merging is possible and doesn't modify the evlist, so that it may be used as a predicate, for example, to decide whether to display a hint. The linking of all the matching events is done by evlist__merge_hybrid. is_pmu_core_len identifies core PMUs using the hybrid topology of the perf.data file. Should the file lack the topology, the PMUs of this machine are scanned but only when the file was recorded on the same architecture, as PMU names like "cpu_core" are architecture specific. Signed-off-by: Ian Rogers <irogers@google.com> Assisted-by: Antigravity:gemini-3.1-pro Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
|---|---|---|
| .. | ||
| accounting | ||
| arch | ||
| bootconfig | ||
| bpf | ||
| build | ||
| certs | ||
| cgroup | ||
| counter | ||
| crypto | ||
| debugging | ||
| dma | ||
| docs | ||
| firewire | ||
| firmware | ||
| gpio | ||
| hv | ||
| iio | ||
| include | ||
| kvm/kvm_stat | ||
| laptop | ||
| leds | ||
| lib | ||
| memory-model | ||
| mm | ||
| net | ||
| objtool | ||
| pcmcia | ||
| perf | ||
| platform/x86/amd | ||
| power | ||
| rcu | ||
| sched | ||
| sched_ext | ||
| scripts | ||
| sound | ||
| spi | ||
| testing | ||
| thermal | ||
| time | ||
| tracing | ||
| unittests | ||
| usb | ||
| verification | ||
| virtio | ||
| wmi | ||
| workqueue | ||
| writeback | ||
| Makefile | ||