Skip to contentSkip to conversation

Improvements tracing code

PATCH In review zhangwei(Jovi) 2 participants 2 messages Mar 11, 2013

lore
Share & tools
lore
#0 lore raw

cover Improvements tracing code

This patch series does several improvements and cleanups in tracing code as follows short stat.

Two patches changed compilation on scsi subsystem, it should go through to SCSI tree.

-------

zhangwei(Jovi) (13):
tracing: teach to use pr_warn_once
tracing: use TRACE_MAX_PRINT
tracing: move find_event_field function into trace_events.c
tracing: make trace_destroy_fields as static
tracing: change unclear comments on arch_syscall_match_sym_name
tracing: remove dump_ran check in __ftrace_dump tracing/kdb: remove redundant checking
tracing: rename trace_event_mutex to trace_event_sem
tracing: use trace_seq_init to initize seq field in trace_iterator
tracing: deprecate tracing_is_enabled function
tracing: export syscall_nr_to_meta function scsi/tracing: include correct header file
scsi/tracing: make scsi_trace.c depend on CONFIG_EVENT_TRACING

 drivers/scsi/Makefile              |    2 +-
 drivers/scsi/scsi_trace.c          |    2 +-
 include/trace/syscall.h            |    2 ++
 kernel/trace/trace.c               |   44 +++++++++++-------------------------
 kernel/trace/trace.h               |    7 ++----
 kernel/trace/trace_events.c        |   43 ++++++++++++++++++++++++++++-------
 kernel/trace/trace_events_filter.c |   29 +-----------------------
 kernel/trace/trace_irqsoff.c       |    2 +-
 kernel/trace/trace_kdb.c           |    8 +++----
 kernel/trace/trace_output.c        |   16 ++++++-------
 kernel/trace/trace_output.h        |    2 +-
 kernel/trace/trace_sched_wakeup.c  |    2 +-
 kernel/trace/trace_syscalls.c      |    5 ++--
 13 files changed, 73 insertions(+), 91 deletions(-)
Signature · 1 line
1.7.9.7
#1 lore raw
Quoted 2 lines · zhangwei(Jovi)

This patch series does several improvements and cleanups in tracing code as follows short stat.

Except for the patches I replied to (and scsi), I think the rest are fine and will queue them up in my 3.10 series.

These are:

zhangwei(Jovi) (7):
tracing: teach to use pr_warn_once
tracing: use TRACE_MAX_PRINT
tracing: move find_event_field function into trace_events.c
tracing: make trace_destroy_fields as static
tracing: change unclear comments on arch_syscall_match_sym_name
tracing: rename trace_event_mutex to trace_event_sem
tracing: deprecate tracing_is_enabled function

-- Steve