mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
tools lib traceevent, perf tools: Rename struct format{_field} to struct tep_format{_field}
In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_". This renames struct format to struct tep_format and struct format_field to struct tep_format_field Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> Cc: linux-trace-devel@vger.kernel.org Link: http://lkml.kernel.org/r/20180919185722.661319373@goodmis.org Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
4963b0f88b
commit
2c92f9828b
17 changed files with 116 additions and 116 deletions
|
@ -34,7 +34,7 @@ static int get_common_field(struct scripting_context *context,
|
|||
{
|
||||
struct tep_handle *pevent = context->pevent;
|
||||
struct tep_event_format *event;
|
||||
struct format_field *field;
|
||||
struct tep_format_field *field;
|
||||
|
||||
if (!*size) {
|
||||
if (!pevent->events)
|
||||
|
@ -96,7 +96,7 @@ int common_pc(struct scripting_context *context)
|
|||
unsigned long long
|
||||
raw_field_value(struct tep_event_format *event, const char *name, void *data)
|
||||
{
|
||||
struct format_field *field;
|
||||
struct tep_format_field *field;
|
||||
unsigned long long val;
|
||||
|
||||
field = tep_find_any_field(event, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue