[dpdk-dev] About pmu cycle counter usage in armv8

Jia He hejianet at gmail.com
Mon Dec 11 06:38:25 CET 2017


Hi Jerin

In [1], I met a pmu cycle counter problem (all return value is 0) 
occasionally.

And then I submited a patch to kernel maillist, but was rejected by 
maintainer at last [2].

He said:

"We only intend for the in-kernel perf infrastructure to access

pmccntr_el0; nothing else should touch it."

So maybe it is not proper for dpdk to use pmu cycle counter?

[1] http://dpdk.org/ml/archives/dev/2017-November/080998.html

[2]https://lkml.org/lkml/2017/11/16/22

-- 
Cheers,
Jia



More information about the dev mailing list