[PATCH v7 0/4] add support for self monitoring

Tomasz Duszynski tduszynski at marvell.com
Thu Feb 2 08:54:32 CET 2023


Hi Morten,

>-----Original Message-----
>From: Morten Brørup <mb at smartsharesystems.com>
>Sent: Wednesday, February 1, 2023 2:51 PM
>To: Tomasz Duszynski <tduszynski at marvell.com>; dev at dpdk.org
>Cc: roretzla at linux.microsoft.com; Ruifeng.Wang at arm.com; bruce.richardson at intel.com; Jerin Jacob
>Kollanukkaran <jerinj at marvell.com>; mattias.ronnblom at ericsson.com; thomas at monjalon.net;
>zhoumin at loongson.cn
>Subject: [EXT] RE: [PATCH v7 0/4] add support for self monitoring
>
>External Email
>
>----------------------------------------------------------------------
>> From: Tomasz Duszynski [mailto:tduszynski at marvell.com]
>> Sent: Wednesday, 1 February 2023 14.18
>>
>> 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 adventages when application runs
>> on isolated cores with nohz_full kernel parameter.
>>
>> Events can be read directly using rte_pmu_read() or using dedicated
>> tracepoint rte_eal_trace_pmu_read(). The latter will cause events to
>> be stored inside CTF file.
>>
>> By design, all enabled events are grouped together and the same group
>> is attached to lcores that use self monitoring funtionality.
>>
>> Events are enabled by names, which need to be read from standard
>> location under sysfs i.e
>>
>> /sys/bus/event_source/devices/PMU/events
>>
>> where PMU is a core pmu i.e one measuring cpu events. As of today raw
>> events are not supported.
>
>I like the modifications in v7.
>
>Series-acked-by: Morten Brørup <mb at smartsharesystems.com>

Thanks. 


More information about the dev mailing list