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(-) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/