perf: Do the big rename: Performance Counters -> Performance Events
[linux-2.6-block.git] / include / trace / ftrace.h
index 72a3b437b8299eef59a0a30cfca73ab84d431d61..ec91e78244f00d69b2f10bc7dc627f2d4dd787f7 100644 (file)
@@ -378,7 +378,7 @@ static inline int ftrace_get_offsets_##call(                                \
 #ifdef CONFIG_EVENT_PROFILE
 
 /*
- * Generate the functions needed for tracepoint perf_counter support.
+ * Generate the functions needed for tracepoint perf_event support.
  *
  * NOTE: The insertion profile callback (ftrace_profile_<call>) is defined later
  *
@@ -656,7 +656,7 @@ __attribute__((section("_ftrace_events"))) event_##call = {         \
  * {
  *     struct ftrace_data_offsets_<call> __maybe_unused __data_offsets;
  *     struct ftrace_event_call *event_call = &event_<call>;
- *     extern void perf_tpcounter_event(int, u64, u64, void *, int);
+ *     extern void perf_tp_event(int, u64, u64, void *, int);
  *     struct ftrace_raw_##call *entry;
  *     u64 __addr = 0, __count = 1;
  *     unsigned long irq_flags;
@@ -691,7 +691,7 @@ __attribute__((section("_ftrace_events"))) event_##call = {         \
  *
  *             <assign>  <- affect our values
  *
- *             perf_tpcounter_event(event_call->id, __addr, __count, entry,
+ *             perf_tp_event(event_call->id, __addr, __count, entry,
  *                          __entry_size);  <- submit them to perf counter
  *     } while (0);
  *
@@ -712,7 +712,7 @@ static void ftrace_profile_##call(proto)                            \
 {                                                                      \
        struct ftrace_data_offsets_##call __maybe_unused __data_offsets;\
        struct ftrace_event_call *event_call = &event_##call;           \
-       extern void perf_tpcounter_event(int, u64, u64, void *, int);   \
+       extern void perf_tp_event(int, u64, u64, void *, int);  \
        struct ftrace_raw_##call *entry;                                \
        u64 __addr = 0, __count = 1;                                    \
        unsigned long irq_flags;                                        \
@@ -742,7 +742,7 @@ static void ftrace_profile_##call(proto)                            \
                                                                        \
                { assign; }                                             \
                                                                        \
-               perf_tpcounter_event(event_call->id, __addr, __count, entry,\
+               perf_tp_event(event_call->id, __addr, __count, entry,\
                             __entry_size);                             \
        } while (0);                                                    \
                                                                        \