Skip to content

perf util: More cleanups on tracepoint handling

Namhyung Kim lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10perf util: Save page size in a trace file to peventtools/perf/util/trace-event-read.c+5 -20 replies
2/10perf util: Save long size of traced systemtools/perf/util/trace-event-read.c+3 -80 replies
3/10perf util: Make file/host_bigendian variable localtools/perf/util/trace-event-read.c+2 -30 replies
4/10perf util: Skip reading header_event filetools/perf/util/trace-event-read.c+1 -80 replies
5/10perf util: Parse header_page to get proper long sizetools/perf/util/trace-event-read.c+18 -11 reply
6/10perf util: Get rid of unused header_page_* variablestools/perf/util/trace-event-parse.c tools/perf/util/trace-event.h+0 -80 replies
7/10perf util: Move latency_format variable to builtin-script.ctools/perf/builtin-script.c tools/perf/util/trace-event-parse.c tools/perf/util/trace-event.h+1 -30 replies
8/10perf util: Rename read_*() functions in trace-event-info.ctools/perf/util/trace-event-info.c+10 -100 replies
9/10perf util: No need to call read_trace_init() in tracing_data_header()tools/perf/util/trace-event-info.c+0 -20 replies
10/10perf util: Remove unused enum and macro in trace-event.htools/perf/util/trace-event.h+0 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 00/10] perf util: More cleanups on tracepoint handling

Hello,

It seems some code that handle tracepoint events left unchanged when they were copied from the trace-cmd. This series tries to cleanup them by removing unnecessary function calls and variables and filling up some missing pieces.

It's based on my previous patchset on libtraceevent [1] and contains a user of the new pevent_set_page_size() API too. :)

You can get this from 'perf/cleanup' branch on my tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Any comments are welcome, thanks.
Namhyung

[1] https://lkml.org/lkml/2013/4/11/194

Namhyung Kim (10):
perf util: Save page size in a trace file to pevent
perf util: Save long size of traced system
perf util: Make file/host_bigendian variable local
perf util: Skip reading header_event file
perf util: Parse header_page to get proper long size
perf util: Get rid of unused header_page_* variables
perf util: Move latency_format variable to builtin-script.c perf util: Rename read_*() functions in trace-event-info.c perf util: No need to call read_trace_init() in tracing_data_header() perf util: Remove unused enum and macro in trace-event.h

 tools/perf/builtin-script.c         |  1 +
 tools/perf/util/trace-event-info.c  | 22 ++++++++---------
 tools/perf/util/trace-event-parse.c |  6 -----
 tools/perf/util/trace-event-read.c  | 49 +++++++++++++++++++++----------------
 tools/perf/util/trace-event.h       | 15 ------------
 5 files changed, 39 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.11.7