public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] perf: No samples found when using kcore + coresight
@ 2023-03-06 21:13 Yang Shi
  2023-03-07 10:32 ` James Clark
  0 siblings, 1 reply; 18+ messages in thread
From: Yang Shi @ 2023-03-06 21:13 UTC (permalink / raw)
  To: james.clark, leo.yan, mathieu.poirier, adrian.hunter, Jiri Olsa,
	acme, mike.leach, Will Deacon, suzuki.poulose
  Cc: linux-perf-users, LAK, coresight, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

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

[-- Attachment #2: perf.data.broken --]
[-- Type: application/octet-stream, Size: 168008 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-03-30 19:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 21:13 [BUG] perf: No samples found when using kcore + coresight Yang Shi
2023-03-07 10:32 ` James Clark
2023-03-07 19:45   ` Yang Shi
2023-03-08 19:56     ` Yang Shi
2023-03-09 11:38       ` Leo Yan
2023-03-09 18:06         ` Yang Shi
2023-03-13 12:14           ` Leo Yan
2023-03-13 18:15             ` Yang Shi
2023-03-14  0:36               ` Leo Yan
2023-03-28  0:53                 ` Yang Shi
2023-03-28  8:59                   ` James Clark
2023-03-28 16:16                     ` Yang Shi
2023-03-29 16:08                 ` James Clark
2023-03-29 23:25                   ` Yang Shi
2023-03-30  8:17                     ` James Clark
2023-03-29 16:11                 ` James Clark
2023-03-30 10:36                   ` James Clark
2023-03-30 19:54                     ` Yang Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox