]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
tools lib traceevent: Factor out and export print_event_field[s]()
authorNamhyung Kim <namhyung@kernel.org>
Wed, 23 Dec 2015 13:08:41 +0000 (22:08 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jan 2016 23:11:11 +0000 (20:11 -0300)
commitbe45d40efec96558c489579bbf93465e90b10abe
treed525ab0ff5cf272ccb90028d4ca98e8877986b06
parent723928340c9d28d92dcaff8b8fbc9100a1cf9429
tools lib traceevent: Factor out and export print_event_field[s]()

The print_event_field() and print_event_fields() functions print basic
information of a given field or event without the print format.  They'll
be used by dynamic sort keys later.

Committer note:

Rename it to pevent_print_field[s]() to get proper namespacing, as
discussed with Steven Rostedt.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1450876121-22494-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h