[PATCH v16 1/4] lib: add generic support for reading PMU events
Konstantin Ananyev
konstantin.ananyev at huawei.com
Fri Dec 6 19:15:39 CET 2024
>
> Add support for programming PMU counters and reading their values
> in runtime bypassing kernel completely.
>
> This is especially useful in cases where CPU cores are isolated
> i.e run dedicated tasks. In such cases one cannot use standard
> perf utility without sacrificing latency and performance.
>
> Signed-off-by: Tomasz Duszynski <tduszynski at marvell.com>
> ---
Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
As future possible enhancements - I think it would be useful to
make control-path API MT safe, plus probably try to hide some of
the exposed internal structures (rte_pmu_event_group, etc.) inside .c
(to minimize surface for possible ABI breakage).
> --
> 2.34.1
More information about the dev
mailing list