All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2] Register read and writes tracing
@ 2020-11-06  2:56 ` Prasad Sodagudi
  0 siblings, 0 replies; 10+ messages in thread
From: Prasad Sodagudi @ 2020-11-06  2:56 UTC (permalink / raw)
  To: rostedt, mingo, keescook, catalin.marinas, saiprakash.ranjan, will
  Cc: linux-arm-kernel, linux-kernel, linux-arm-msm, gregkh, anton,
	arnd, ccross, jbaron, jim.cromie, joe, joel, Prasad Sodagudi

This patch series adds register read/write event tracing
support. Qualcomm team tried upstreaming the register
trace buffer solution - [1] with pstore and dynamic debug
feature but that patch series didn't merge. I have followed
Steve suggestion from -[2] and used tracepoint_enabled() API.

[1] - https://patchwork.kernel.org/project/linux-arm-msm/cover/cover.1536430404.git.saiprakash.ranjan@codeaurora.org/
[2] - https://lore.kernel.org/lkml/20200928105501.7e29df65@oasis.local.home/ 

Qualcomm teams uses these logs for debugging various issues
in the product life cycle and hopping that this logging
would help other silicon vendors as this is generic approach.

v1 -> v2:
- Removed _no_log variant
- tracepoint_enabled api is used.
- Added depends on ARM64


Prasad Sodagudi (1):
  tracing: Add register read and write tracing support

 arch/arm64/include/asm/io.h    |  9 ++++++++
 arch/arm64/kernel/image-vars.h |  8 +++++++
 include/linux/iorw.h           | 38 +++++++++++++++++++++++++++++++
 include/trace/events/rwio.h    | 51 ++++++++++++++++++++++++++++++++++++++++++
 kernel/trace/Kconfig           | 11 +++++++++
 kernel/trace/Makefile          |  1 +
 kernel/trace/trace_readwrite.c | 31 +++++++++++++++++++++++++
 7 files changed, 149 insertions(+)
 create mode 100644 include/linux/iorw.h
 create mode 100644 include/trace/events/rwio.h
 create mode 100644 kernel/trace/trace_readwrite.c

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


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

end of thread, other threads:[~2020-11-06  9:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06  2:56 [PATCH 2] Register read and writes tracing Prasad Sodagudi
2020-11-06  2:56 ` Prasad Sodagudi
2020-11-06  2:56 ` [PATCH v2] tracing: Add register read and write tracing support Prasad Sodagudi
2020-11-06  2:56   ` Prasad Sodagudi
2020-11-06  6:49   ` Greg KH
2020-11-06  6:49     ` Greg KH
2020-11-06  9:09     ` Will Deacon
2020-11-06  9:09       ` Will Deacon
2020-11-06  3:58 ` [PATCH 2] Register read and writes tracing Florian Fainelli
2020-11-06  3:58   ` Florian Fainelli

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.