tracing: export event trace and trace_marker
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 0 repliesNew
- v3 posting 4/46 patches 4 repliesSuperseded
- v3 posting 3/46 patches 6 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 2/4 | 6 patches | 2 replies | Superseded | |
| v3 posting 1/4 | 6 patches | 3 replies | Superseded | |
| v2 | 6 patches | 4 replies | Superseded | |
| v1 | 4 patches | 5 replies | Superseded |
Changes in v4 from the cover letter
Round up number of channels to power of 2. (Alex)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | stm class: ftrace: change dependency to TRACINGdrivers/ | +1 | 0 replies | |
| 2/6 | tracing: add flag to control different tracesinclude/ kernel/ | +24 | 0 replies | |
| 3/6 | tracing: add trace_export support for event traceinclude/ kernel/ | +135 | 0 replies | |
| 4/6 | tracing: add trace_export support for trace_markerinclude/ kernel/ | +10 | 0 replies | |
| 5/6 | stm class: ftrace: enable supported trace export flagdrivers/ | +2 | 0 replies | |
| 6/6 | stm class: ftrace: use different channel accroding to CPUdrivers/ | +4 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Steven Rostedt (VMware) | Alexander Shishkin |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | R-b | R-b |
| 3/6 | R-b | R-b |
| 4/6 | R-b | R-b |
| 5/6 | R-b | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] tracing: export event trace and trace_marker
Ftrace has ability to export trace packets to other destination. Currently, only function trace can be exported. This series extends the support to event trace and trace_maker. STM is one possible destination to export ftrace. Use separate channel for each CPU to avoid mixing up packets from different CPUs together.
Change from v3:
Round up number of channels to power of 2. (Alex)
Change from v2:
Change flag definition to BIT(). (Steven)
Add comment in stm_ftrace_write() to clarify it's safe to use smp_processor_id() here since preempt is disabled. (Steven)
Change from v1:
All changes are suggested by Steven Rostedt.
User separate flag to control function trace, event trace and trace mark. Allocate channels according to num_possible_cpu() dynamically. Move ftrace_exports routines up so all ftrace can use them.
Tingwei Zhang (6):
stm class: ftrace: change dependency to TRACING
tracing: add flag to control different traces
tracing: add trace_export support for event trace
tracing: add trace_export support for trace_marker stm class: ftrace: enable supported trace export flag stm class: ftrace: use different channel accroding to CPU
drivers/hwtracing/stm/Kconfig | 2 +- drivers/hwtracing/stm/ftrace.c | 7 +- include/linux/trace.h | 7 + kernel/trace/trace.c | 270 ++++++++++++++++++--------------- 4 files changed, 159 insertions(+), 127 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project