Skip to content

tracing: various cleanups and small fixes

Li Zefan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13tracing: Extract duplicate ftrace_raw_init_event_foo()include/trace/ftrace.h+15 -192 replies
2/13tracing: Extract calls to trace_define_common_fields()include/linux/ftrace_event.h include/trace/ftrace.h kernel/trace/trace_events.c +3 more+4 -281 reply
3/13tracing: Move a printk out of ftrace_raw_reg_event_foo()include/trace/ftrace.h kernel/trace/trace_events.c kernel/trace/trace_syscalls.c+17 -262 replies
4/13ftrace: Return EINVAL when writing invalid val to set_ftrace_filterkernel/trace/ftrace.c+16 -60 replies
5/13ftrace: Call trace_parser_clear() properlykernel/trace/ftrace.c+1 -20 replies
6/13function-graph: Allow writing the same val to set_graph_functionkernel/trace/ftrace.c+2 -31 reply
7/13tracing: Use seq file for trace_optionskernel/trace/trace.c+17 -430 replies
8/13tracing: Use seq file for trace_clockkernel/trace/trace.c+15 -90 replies
9/13tracing: Remove useless trace optionkernel/trace/trace.c kernel/trace/trace.h+11 -130 replies
10/13tracing: Simplify trace_option_write()kernel/trace/trace.c+31 -540 replies
11/13tracing: Change event->profile_count to be int typeinclude/linux/ftrace_event.h include/linux/syscalls.h include/trace/ftrace.h +2 more+4 -80 replies
12/13tracing/power: Remove two exportskernel/trace/power-traces.c+0 -21 reply
13/13ksym_tracer: Fix compile warningskernel/trace/trace_ksym.c+7 -60 replies

Reviews trailers per patch

4 of 13 patches have a Reviewed-by or Acked-by.

PatchFrederic WeisbeckerArjan van de Ven
1/13
2/13A-b
3/13
4/13A-b
5/13
6/13A-b
7/13
8/13
9/13
10/13
11/13
12/13A-b
13/13

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

Read the v1 thread

Cover letter [PATCH 0/13] tracing: various cleanups and small fixes

Here are some patches that I've collected. All are cleanups and small fixes, no change in functionality.

---
 include/linux/ftrace_event.h       |    3 +-
 include/linux/syscalls.h           |    2 -
 include/trace/ftrace.h             |   55 ++++--------
 kernel/trace/ftrace.c              |   30 ++++---
 kernel/trace/power-traces.c        |    2 -
 kernel/trace/trace.c               |  166 +++++++++++++-----------------------
 kernel/trace/trace.h               |   23 +++---
 kernel/trace/trace_event_profile.c |    6 +-
 kernel/trace/trace_events.c        |   24 ++++--
 kernel/trace/trace_export.c        |    4 -
 kernel/trace/trace_kprobe.c        |    9 --
 kernel/trace/trace_ksym.c          |   13 ++--
 kernel/trace/trace_syscalls.c      |   18 +----
 13 files changed, 138 insertions(+), 217 deletions(-)