RE: [PATCH v12 1/4] lib: add generic support for reading PMU events

2024-10-09 Thread Tomasz Duszynski
[...] > >> +int >> +rte_pmu_init(void) >> +{ >> +int ret; >> + >> +/* Allow calling init from multiple contexts within a single >> thread. This simplifies >> + * resource management a bit e.g in case fast-path tracepoint has >> already been enabled >> + * via command line but applic

RE: [EXTERNAL] Re: [PATCH v12 1/4] lib: add generic support for reading PMU events

2024-10-09 Thread Tomasz Duszynski
>On Sat, Sep 28, 2024 at 3:37 AM Tomasz Duszynski >wrote: >> >> 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 u

Re: [PATCH v12 1/4] lib: add generic support for reading PMU events

2024-10-06 Thread Jerin Jacob
On Sat, Sep 28, 2024 at 3:37 AM Tomasz Duszynski wrote: > > 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 standa

RE: [PATCH v12 1/4] lib: add generic support for reading PMU events

2024-10-06 Thread Morten Brørup
> From: Tomasz Duszynski [mailto:tduszyn...@marvell.com] > Sent: Saturday, 28 September 2024 00.06 > +int > +rte_pmu_init(void) > +{ > + int ret; > + > + /* Allow calling init from multiple contexts within a single > thread. This simplifies > + * resource management a bit e.g in case