tools lib traceevent: Hide non API functions
authorTzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Wed, 30 Sep 2020 11:07:33 +0000 (14:07 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Oct 2020 14:47:38 +0000 (11:47 -0300)
commita41c32105cc12a7d2ae11a591929a6add98987cd
treee1cac0d5f72f3fe33dd2b25364925891b9ccc897
parentdc000c4593a9ce119ba7db2c4d9a00f5a9daf731
tools lib traceevent: Hide non API functions

There are internal library functions, which are not declared as a static.
They are used inside the library from different files. Hide them from
the library users, as they are not part of the API.
These functions are made hidden and are renamed without the prefix "tep_":
 tep_free_plugin_paths
 tep_peek_char
 tep_buffer_init
 tep_get_input_buf_ptr
 tep_get_input_buf
 tep_read_token
 tep_free_token
 tep_free_event
 tep_free_format_field
 __tep_parse_format

Link: https://lore.kernel.org/linux-trace-devel/e4afdd82deb5e023d53231bb13e08dca78085fb0.camel@decadent.org.uk/
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Link: http://lore.kernel.org/lkml/20200930110733.280534-1-tz.stoyanov@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse-api.c
tools/lib/traceevent/event-parse-local.h
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h
tools/lib/traceevent/event-plugin.c
tools/lib/traceevent/parse-filter.c