[BUG] perf: No samples found when using kcore + coresight

Yang Shi shy828301 at gmail.com
Mon Mar 27 17:53:04 PDT 2023


Hi Leo,

Just follow up on this one. Any update?

Thanks,
Yang

On Mon, Mar 13, 2023 at 5:36 PM Leo Yan <leo.yan at linaro.org> wrote:
>
> On Mon, Mar 13, 2023 at 11:15:44AM -0700, Yang Shi wrote:
>
> [...]
>
> > > Just a quick summary, here we have two issues:
> > >
> > > - With command:
> > >   perf record -e cs_etm/@tmc_etf63/k --kcore --per-thread \
> > >   -- taskset --cpu-list 1 uname",
> > >
> > >   perf doesn't enable "text poke" attribution.
> >
> > No, it enables "text poke" and perf fails to decode coresight trace
> > data too. It doesn't matter whether "--kcore" is after or before "-e
> > cs/etm/@tmc_etf63/k".
>
> Understand now.  Thanks for correction, if so we can ignore this one.
>
> Leo



More information about the linux-arm-kernel mailing list