[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHbLzkrJQTrYBtPkf=jf3OpQ-yBcJe7XkvQstX9j2frz4WF-SQ@mail.gmail.com>
Date: Mon, 6 Mar 2023 13:13:30 -0800
From: Yang Shi <shy828301@...il.com>
To: james.clark@....com, leo.yan@...aro.org,
mathieu.poirier@...aro.org, adrian.hunter@...el.com,
Jiri Olsa <jolsa@...nel.org>, acme@...hat.com,
mike.leach@...aro.org, Will Deacon <will@...nel.org>,
suzuki.poulose@....com
Cc: linux-perf-users@...r.kernel.org,
LAK <linux-arm-kernel@...ts.infradead.org>,
coresight@...ts.linaro.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [BUG] perf: No samples found when using kcore + coresight
Hi,
I'm seeking some help regarding perf record --kcore + coresight. When
I tracing with perf record --kcore -e cs_etm ... , perf report shows
"The perf.data/data data has no samples!".
I tried other combinations:
1. perf record --kcore (w/o using coresight): works
2. perf record -e cs_etm ... : works
3. Manually copy kcore with perf buildid-cache, then run perf record
-e cs_etm... : works
So just "perf record --kcore -e cs_etm ..." doesn't work.
I'm using v6.2 kernel and the perf is built from the same kernel
source with OpenCSD 1.4. Also attached the sample file generated by
perf.
Any suggestion is appreciated.
Thanks,
Yang
Download attachment "perf.data.broken" of type "application/octet-stream" (168008 bytes)
Powered by blists - more mailing lists