Re: [PATCH] tools: lib: traceevent: kbuffer-parse.c: Remove some unused functions
From: Namhyung Kim
Date: Mon Dec 22 2014 - 23:24:49 EST
On Sat, Dec 20, 2014 at 05:40:00PM +0100, Rickard Strandqvist wrote:
> Removes some functions that are not used anywhere:
> kbuffer_set_old_format() kbuffer_missed_events() kbuffer_curr_size()
> kbuffer_event_size() kbuffer_curr_offset() kbuffer_curr_index()
> kbuffer_subbuffer_size() kbuffer_read_at_offset() kbuffer_timestamp()
> kbuffer_read_event() kbuffer_translate_data() kbuffer_free() kbuffer_alloc()
>
> This was partially found by using a static code analysis program called cppcheck.
This kbuffer API will be used by other (out-of-tree currently) tools..
And I have a plan to add an in-kernel user (perf-ftrace command) later.
Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/