Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
Enable test to allow users to verify basic functionality. Due to varying
configuration options across distributions and kernels user should
ensure that all requirements are satisfied before starting test.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 60
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
about that.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 4
lib/pmu/pmu_arm64.c | 39 +++
lib/pmu/pmu_private.h | 8
3 files changed, 15 insertions(+), 36 deletions(-)
diff --git a/lib/pmu/pmu.c b/lib/pmu/pmu.c
index d8212
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
ional
compilation
- skip testing if paranoia is at wrong level
v2:
- explicitly check against NULL
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (8):
lib/pmu: quiesce rte_pmu_read deprecation warning in chkincs
lib/pmu: export only necessary arch headers
li
Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
Enable test to allow users to verify basic functionality. Due to varying
configuration options across distributions and kernels user should
ensure that all requirements are satisfied before starting test.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 60
about that.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 4
lib/pmu/pmu_arm64.c | 39 +++
lib/pmu/pmu_private.h | 8
3 files changed, 15 insertions(+), 36 deletions(-)
diff --git a/lib/pmu/pmu.c b/lib/pmu/pmu.c
index 0709f
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
el
v2:
- explicitly check against NULL
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (8):
lib/pmu: quiesce rte_pmu_read deprecation warning in chkincs
lib/pmu: export only necessary arch headers
lib/pmu: reimplement per-arch ops as callbacks
lib/pmu: do no
> > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > Sent: Monday, 21 July 2025 12.46
> >
> > 21/07/2025 12:24, Tomasz Duszynski:
> > > > On Fri, Jun 27, 2025 at 5:41 PM Tomasz Duszynski
> > wrote:
> > > > >
> > > >
> On Fri, Jun 27, 2025 at 5:41 PM Tomasz Duszynski
> wrote:
> >
> > In order to profile app, one needs to store significant amount of samples
> > somewhere for an analysis later on.
> > Since trace library supports storing data in a CTF format,
> > lets take a
Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
Enable test to allow users to verify basic functionality. Due to varying
configuration options across distributions and kernels user should
ensure that all requirements are satisfied before starting test.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 60
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
about that.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 4
lib/pmu/pmu_arm64.c | 39 +++
lib/pmu/pmu_private.h | 8
3 files changed, 15 insertions(+), 36 deletions(-)
diff --git a/lib/pmu/pmu.c b/lib/pmu/pmu.c
index 0709f
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
B_PMU
Tomasz Duszynski (8):
lib/pmu: quiesce rte_pmu_read deprecation warning in chkincs
lib/pmu: export only necessary arch headers
lib/pmu: reimplement per-arch ops as callbacks
lib/pmu: do not try enabling perf counter access on arm64
lib/pmu: use build system defined RTE_LIB_PMU
Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
Enable test to allow users to verify basic functionality. Due to varying
configuration options across distributions and kernels user should
ensure that all requirements are satisfied before starting test.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 58
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
about that.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 4
lib/pmu/pmu_arm64.c | 39 +++
lib/pmu/pmu_private.h | 8
3 files changed, 15 insertions(+), 36 deletions(-)
diff --git a/lib/pmu/pmu.c b/lib/pmu/pmu.c
index 0709f
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
xport __rte_pmu_trace_read because that breaks compilation
on windows - script generating map files does not handle conditional
compilation
- skip testing if paranoia is at wrong level
v2:
- explicitly check against NULL
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (8):
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
ch to character-based GPIO interface")
Signed-off-by: Tomasz Duszynski
---
drivers/raw/cnxk_gpio/cnxk_gpio.c | 38 ---
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git a/drivers/raw/cnxk_gpio/cnxk_gpio.c
b/drivers/raw/cnxk_gpio/cnxk_gpio.c
index
about that.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 4
lib/pmu/pmu_arm64.c | 39 +++
lib/pmu/pmu_private.h | 8
3 files changed, 15 insertions(+), 36 deletions(-)
diff --git a/lib/pmu/pmu.c b/lib/pmu/pmu.c
index 0709f
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
DPDK test suite provides much broader architecture coverage than
what can be tested locally so enable the test to help identify
potential issues.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 51 +
1 file changed, 47 insertions(+), 4
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
about that.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 4
lib/pmu/pmu_arm64.c | 39 +++
lib/pmu/pmu_private.h | 8
3 files changed, 15 insertions(+), 36 deletions(-)
diff --git a/lib/pmu/pmu.c b/lib/pmu/pmu.c
index 0709f
anoia is at wrong level
v2:
- explicitly check against NULL
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (8):
lib/pmu: quiesce rte_pmu_read deprecation warning in chkincs
lib/pmu: export only necessary arch headers
lib/pmu: reimplement per-arch ops as call
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
ainst NULL
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (7):
lib/pmu: export only necessary arch headers
lib/pmu: reimplement per-arch ops as callbacks
lib/pmu: do not try enabling perf counter access on arm64
lib/pmu: use build system defined RTE_LIB_PMU
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
DPDK test suite provides much broader architecture coverage than
what can be tested locally so enable the test to help identify
potential issues.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 51 +
1 file changed, 47 insertions(+), 4
__rte_pmu_trace_read because that breaks compilation
on windows - script generating map files does not handle conditional
compilation
- skip testing if paranoia is at wrong level
v2:
- explicitly check against NULL
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (7):
lib
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
Make sure that out-of-bound access does not happen by saving one byte in
buffer for NUL terminator.
Fixes: a8926a65ad1d ("pmu: support Arm")
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Cc: tduszyn...@marvell.com
Signed-off-by: Tomasz Duszynski
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
DPDK test suite provides much broader architecture coverage than
what can be tested locally so enable the test to help identify
potential issues.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 44 +---
1 file changed, 41 insertions(+), 3
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
>> diff --git a/lib/meson.build b/lib/meson.build
>> index 1934cb4a29..87b567f01b 100644
>> --- a/lib/meson.build
>> +++ b/lib/meson.build
>> @@ -13,7 +13,7 @@ libraries = [
>> 'kvargs', # eal depends on kvargs
>> 'argparse',
>> 'telemetry', # basic info querying
>> -
DPDK test suite provides much broader architecture coverage than
what can be tested locally so enable the test to help identify
potential issues.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/app/test/test_pmu.c b
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
- make pmu lib optional by checking if dpdk config has RTE_LIB_PMU
Tomasz Duszynski (6):
lib/pmu: quiesce rte_pmu_read deprecation warning in chkincs
lib/pmu: export only necessary arch headers
lib/pmu: reimplement per-arch ops as callbacks
lib/pmu: use build system defined RTE_LIB_PMU
>16/06/2025 08:53, Tomasz Duszynski:
>> RTE_LIB_PMU is defined by build system automatically if DPDK is build
>> for Linux. Otherwise it's missing.
>>
>> That said all cases where conditional compilation is required
>> can be handled without introducing othe
>16/06/2025 08:53, Tomasz Duszynski:
>> +static inline int
>> +pmu_arch_init(void)
>> +{
>> + if (arch_ops && arch_ops->init)
>> + return arch_ops->init();
>
>These are not boolean values, please compare explicitly with NULL.
Okay.
>16/06/2025 08:53, Tomasz Duszynski:
>> @@ -86,6 +86,7 @@ always_enable = [
>> 'ring',
>> 'stack',
>> 'telemetry',
>> +'pmu',
>> ]
>
>This list is alphabetically sorted.
Ri
RTE_LIB_PMU is defined by build system automatically if DPDK is build
for Linux. Otherwise it's missing.
That said all cases where conditional compilation is required
can be handled without introducing other macros.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte_pmu.h | 3 ---
1 file ch
In order to profile app, one needs to store significant amount of samples
somewhere for an analysis later on.
Since trace library supports storing data in a CTF format,
lets take advantage of that and add a dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS
DPDK test suite provides much broader architecture coverage than
what can be tested locally so enable the test to help identify
potential issues.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/app/test/test_pmu.c b
Replace static per-architecture ops with a callback-based ops
structure. This makes architecture-specific PMU implementations more
modular and easier to extend.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/pmu.c | 17 +
lib/pmu/pmu_arm64.c | 19 +--
lib
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski
---
lib/pmu/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/pmu/meson.build b/lib/pmu/meson.build
index bcb6d10f1a..53013d0ed6 100644
--- a/lib
Add a dummy rte_pmu_read() definition for chkincs when
ALLOW_EXPERIMENTAL_API is not defined to suppress warnings from
use of experimental APIs in tracepoints.
Fixes: 960c43184c4d ("pmu: introduce library for reading PMU events")
Signed-off-by: Tomasz Duszynski
---
lib/pmu/rte
This series does some cleanup and refactoring around the rc1 code like:
trimming unused headers,
switching to callbacks for per-arch handling, and adding trace support. It also
re-enables existing
base test to help catch reported issues on some architectures.
Tomasz Duszynski (6):
lib/pmu
Hi Thomas,
Thanks for taking the time to merge the code and for the detailed update.
Cleanup and fixes you've done - appreciated.
I'm working on resolving remaining issues.
Hi Thomas,
>Hello,
>
>17/01/2025 10:00, Tomasz Duszynski:
>> lib/pmu/meson.build | 22 +
>> lib/pmu/pmu_arm64.c | 94
>> lib/pmu/pmu_private.h| 32 ++
>> lib/pmu/rte_p
s the PMD to use the current GPIO interface
ensuring compatibility with current kernel standards while improving
maintainability and security.
Signed-off-by: Tomasz Duszynski
---
v2:
- compile conditionally based on GPIO_V2_PRESENT
v3:
- fix compilation issues due to missing structure member
- qu
s the PMD to use the current GPIO interface
ensuring compatibility with current kernel standards while improving
maintainability and security.
Signed-off-by: Tomasz Duszynski
---
v2:
- compile conditionally based on GPIO_V2_PRESENT
v3:
- fix compilation issues due to missing structure member
- qu
s the PMD to use the current GPIO interface
ensuring compatibility with current kernel standards while improving
maintainability and security.
Signed-off-by: Tomasz Duszynski
---
v2:
- compile conditionally based on GPIO_V2_PRESENT
doc/guides/rawdevs/cnxk_gpio.rst | 37 +-
driver
s the PMD to use the current GPIO interface
ensuring compatibility with current kernel standards while improving
maintainability and security.
Signed-off-by: Tomasz Duszynski
---
doc/guides/rawdevs/cnxk_gpio.rst | 37 +-
drivers/raw/cnxk_gpio/cnxk_gpio.c
In order to profile app one needs to store significant amount of samples
somewhere for an analysis later on. Since trace library supports
storing data in a CTF format lets take advantage of that and add a
dedicated PMU tracepoint.
Signed-off-by: Tomasz Duszynski
---
app/test/test_trace_perf.c
Add support for reading Intel x86_64 PMU events in runtime.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 2 ++
lib/pmu/meson.build | 1 +
lib/pmu/rte_pmu.h| 2 ++
lib/pmu/rte_pmu_pmc_x86_64.h | 24
4 files changed, 29
Add support for reading ARM PMU events in runtime.
Signed-off-by: Tomasz Duszynski
---
app/test/test_pmu.c | 4 ++
lib/pmu/meson.build | 8
lib/pmu/pmu_arm64.c | 94 +
lib/pmu/rte_pmu.h | 4 ++
lib/pmu
.
Signed-off-by: Tomasz Duszynski
---
MAINTAINERS| 5 +
app/test/meson.build | 1 +
app/test/test_pmu.c| 49 +++
doc/api/doxy-api-index.md | 3 +-
doc/api/doxy-api.conf.in | 1 +
doc/guides/prog_guide
rary
- address review comments
v5:
- address review comments
- fix sign extension while reading pmu on x86
- fix regex mentioned in doc
- various minor changes/improvements here and there
v4:
- fix freeing mem detected by debug_autotest
v3:
- fix shared build
v2:
- fix problems reported by test bu
>> From: Tomasz Duszynski
>> To: , Stephen Hemminger ,
>"Pascal Mazon"
>> CC: , Tomasz Duszynski
>> Subject: [PATCH] net/tap: fix compilation issues if HAVE_TCA_FLOWER is
>> missing
>> Date: Wed, 8 Jan 2025 13:10:11 +0100
>> X-Mailer: git-
parameter
‘remote_iface’ [-Werror=unused-parameter]
Fixes: bf7b7f437b49 ("net/tap: create netdevice during probing")
Cc: pascal.ma...@6wind.com
Signed-off-by: Tomasz Duszynski
---
drivers/net/tap/rte_eth_tap.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drive
>> +
>> +/* events are matched against occurrences of e=ev1[,ev2,..] pattern */
>> +ret = regcomp(®, "e=([_[:alnum:]-],?)+", REG_EXTENDED);
>> +if (ret) {
>> +PMU_LOG(ERR, "Failed to compile event matching regexp");
>> +return -EINVAL;
>> +}
>> +
>> +for
>> This series adds self monitoring support i.e allows to configure and
>> read performance measurement unit (PMU) counters in runtime without
>> using perf utility. This has certain advantages when application runs
>> on isolated cores running dedicated tasks.
>>
>> Events can be read directly usi
>> +Performance counter based profiling
>> +---
>> +
>> +Majority of architectures support some performance monitoring unit
>(PMU).
>> +Such unit provides programmable counters that monitor specific events.
>
>Sentence wording is awkward, maybe combine the two senten
lity without sacrificing latency and performance.
>>
>> Signed-off-by: Tomasz Duszynski
>> ---
>
>Acked-by: Konstantin Ananyev
>
>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 e
>-Original Message-
>From: Tomasz Duszynski
>Sent: Monday, November 18, 2024 8:37 AM
>To: Tomasz Duszynski
>Cc: ruifeng.w...@arm.com; bruce.richard...@intel.com;
>david.march...@redhat.com; dev@dpdk.org;
>Jerin Jacob ; konstantin.v.anan...@yandex.ru;
>mattias.r
1 - 100 of 803 matches
Mail list logo