Skip to content

RFC trace,smp: Add tracepoints for csd

Leonardo Bras linux-trace-kernel lkml 4 versions – Applied

Status from this message: The following commit has been merged into the smp/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 RFC Latest2 patches 2 repliesApplied
  2. v4 RFC2 patches 7 repliesSuperseded
  3. v3 RFC1 patch 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 RFC1 patch1 replySuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2trace,smp: Add tracepoints around remotelly called functionsinclude/trace/events/csd.h kernel/smp.c+64 -61 reply
2/2trace,smp: Add tracepoints for scheduling remotelly called functionsinclude/trace/events/csd.h kernel/smp.c+32 -111 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchValentin Schneider
1/2Tested-and-reviewed-by
2/2Tested-and-reviewed-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [RFC PATCH v5 0/2] trace,smp: Add tracepoints for csd

Changes since RFCv4:
- Moved from trace/events/smp.h to trace/events/csd.h
- Using TRACE_SYSTEM csd, instead of smp
- generic_exec_single() trace uses NULL instead of csd for current cpu.
- Trace function csd type moved from call_single_data_t to struct __call_single_data to avoid alignment errors on blk code.

Changes since RFCv3:
- Split the patch in 2: entry/exit and queue
- Fix 'struct __call_single_data' & call_single_data_t alignment issue
- Made all TP_printk follow the same pattern

Changes since RFCv2:
- Fixed some spacing issues and trace calls

Changes since RFCv1:
- Implemented trace_csd_queue_cpu() as suggested by Valentin Schneider
- Using EVENT_CLASS in order to avoid duplication
- Introduced new helper: csd_do_func()
- Name change from smp_call_function_* to csd_function_*
- Rebased on top of torvalds/master

Leonardo Bras (2):
trace,smp: Add tracepoints around remotelly called functions trace,smp: Add tracepoints for scheduling remotelly called functions

 include/trace/events/csd.h | 72 ++++++++++++++++++++++++++++++++++++++
 kernel/smp.c               | 41 +++++++++++++---------
 2 files changed, 96 insertions(+), 17 deletions(-)
 create mode 100644 include/trace/events/csd.h
Signature · 1 line
2.41.0