All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] perf arm-spe: Track pid/tid for Arm SPE samples
@ 2021-11-02 18:07 ` German Gomez
  0 siblings, 0 replies; 24+ messages in thread
From: German Gomez @ 2021-11-02 18:07 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users, acme
  Cc: German Gomez, John Garry, Will Deacon, Mathieu Poirier, Leo Yan,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	linux-arm-kernel

The following patchset is an iteration on RFC [1] where pid/tid info is
assigned to the Arm SPE synthesized samples. Two methods of tracking
pids are considered: hardware-based (using Arm SPE CONTEXT packets), and
context-switch events (from perf) as fallback.

- Patch #1 enables pid tracking using RECORD_SWITCH* events from perf.
- Patch #2 saves the value of SPE CONTEXT packet to the arm_spe_record
  struct (patch from [2]).
- Patch #3 enables hardware-based pid tracking using SPE CONTEXT packets.

[1] https://lore.kernel.org/lkml/20210916001748.1525291-1-namhyung@kernel.org/
[2] https://www.spinics.net/lists/linux-perf-users/msg12543.html

German Gomez (3):
  perf arm-spe: Track task context switch for cpu-mode events
  perf arm-spe: Save context ID in record
  perf arm-spe: Support hardware-based PID tracing

 tools/perf/arch/arm64/util/arm-spe.c          |   6 +-
 .../util/arm-spe-decoder/arm-spe-decoder.c    |   2 +
 .../util/arm-spe-decoder/arm-spe-decoder.h    |   1 +
 tools/perf/util/arm-spe.c                     | 144 ++++++++++++++----
 4 files changed, 123 insertions(+), 30 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-11-09 11:16 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02 18:07 [PATCH 0/3] perf arm-spe: Track pid/tid for Arm SPE samples German Gomez
2021-11-02 18:07 ` German Gomez
2021-11-02 18:07 ` [PATCH 1/3] perf arm-spe: Track task context switch for cpu-mode events German Gomez
2021-11-02 18:07   ` German Gomez
2021-11-06  3:29   ` Leo Yan
2021-11-06  3:29     ` Leo Yan
2021-11-06 19:49     ` Arnaldo Carvalho de Melo
2021-11-06 19:49       ` Arnaldo Carvalho de Melo
2021-11-08 11:32       ` German Gomez
2021-11-08 11:32         ` German Gomez
2021-11-02 18:07 ` [PATCH 2/3] perf arm-spe: Save context ID in record German Gomez
2021-11-02 18:07   ` German Gomez
2021-11-06  3:32   ` Leo Yan
2021-11-06  3:32     ` Leo Yan
2021-11-06 13:47   ` Leo Yan
2021-11-06 13:47     ` Leo Yan
2021-11-09 10:41     ` German Gomez
2021-11-09 10:41       ` German Gomez
2021-11-02 18:07 ` [PATCH 3/3] perf arm-spe: Support hardware-based PID tracing German Gomez
2021-11-02 18:07   ` German Gomez
2021-11-06 14:57   ` Leo Yan
2021-11-06 14:57     ` Leo Yan
2021-11-09 11:15     ` German Gomez
2021-11-09 11:15       ` German Gomez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.