tools lib traceevent, perf tools: Rename 'struct tep_event_format' to 'struct tep_event'
[linux-2.6-microblaze.git] / tools / perf / util / trace-event.c
index 95664b2..cbe0dd7 100644 (file)
@@ -72,12 +72,12 @@ void trace_event__cleanup(struct trace_event *t)
 /*
  * Returns pointer with encoded error via <linux/err.h> interface.
  */
-static struct tep_event_format*
+static struct tep_event*
 tp_format(const char *sys, const char *name)
 {
        char *tp_dir = get_events_file(sys);
        struct tep_handle *pevent = tevent.pevent;
-       struct tep_event_format *event = NULL;
+       struct tep_event *event = NULL;
        char path[PATH_MAX];
        size_t size;
        char *data;
@@ -102,7 +102,7 @@ tp_format(const char *sys, const char *name)
 /*
  * Returns pointer with encoded error via <linux/err.h> interface.
  */
-struct tep_event_format*
+struct tep_event*
 trace_event__tp_format(const char *sys, const char *name)
 {
        if (!tevent_initialized && trace_event__init2())
@@ -111,7 +111,7 @@ trace_event__tp_format(const char *sys, const char *name)
        return tp_format(sys, name);
 }
 
-struct tep_event_format *trace_event__tp_format_id(int id)
+struct tep_event *trace_event__tp_format_id(int id)
 {
        if (!tevent_initialized && trace_event__init2())
                return ERR_PTR(-ENOMEM);