Skip to content

RFC Split Coresight decode by aux records

James Clark linux-arm-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf cs-etm: Split up etm queue setup functiontools/perf/util/cs-etm.c+31 -290 replies
2/5perf cs-etm: Only search timestamp in current sample's queue.tools/perf/util/cs-etm.c+20 -140 replies
3/5perf cs-etm: Save aux records in each etm queuetools/perf/util/cs-etm.c+19 -50 replies
4/5perf cs-etm: don't process queues until cs_etm__flush_eventstools/perf/util/cs-etm.c+0 -40 replies
5/5perf cs-etm: split decode by aux records.tools/perf/util/cs-etm.c+66 -420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] Split Coresight decode by aux records

The following patches fix opening perf.data files that have timestamps (ordered data), aren't recorded with --per-thread, and that have discontinuous data in a single aux trace buffer.

I have some open questions:
* Can cs_etm__update_queues() be removed from cs_etm__flush_events()?
* Why does the second commit start making some files process correctly?
* Is it ok to wait for the flush to start processing? Previously processing happened when the first aux record was delivered to cs_etm__process_event().
* Do the aux records need to be saved into a new buffer or can they be pulled from elsewhere?

I also have some further changes to make to make per-thread mode work where the cpu field of the sample is set to -1. And when there are no timestamps cs_etm__process_timeless_queues() is used, which is a completely different code path.

Thanks
James

James Clark (5):
perf cs-etm: Split up etm queue setup function
perf cs-etm: Only search timestamp in current sample's queue. perf cs-etm: Save aux records in each etm queue perf cs-etm: don't process queues until cs_etm__flush_events perf cs-etm: split decode by aux records.

 tools/perf/util/cs-etm.c | 200 +++++++++++++++++++++++----------------
 1 file changed, 121 insertions(+), 79 deletions(-)
Signature · 7 lines
2.28.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel