diff options
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/ftrace.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 72a3b437b829..ec91e78244f0 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -378,7 +378,7 @@ static inline int ftrace_get_offsets_##call( \ | |||
378 | #ifdef CONFIG_EVENT_PROFILE | 378 | #ifdef CONFIG_EVENT_PROFILE |
379 | 379 | ||
380 | /* | 380 | /* |
381 | * Generate the functions needed for tracepoint perf_counter support. | 381 | * Generate the functions needed for tracepoint perf_event support. |
382 | * | 382 | * |
383 | * NOTE: The insertion profile callback (ftrace_profile_<call>) is defined later | 383 | * NOTE: The insertion profile callback (ftrace_profile_<call>) is defined later |
384 | * | 384 | * |
@@ -656,7 +656,7 @@ __attribute__((section("_ftrace_events"))) event_##call = { \ | |||
656 | * { | 656 | * { |
657 | * struct ftrace_data_offsets_<call> __maybe_unused __data_offsets; | 657 | * struct ftrace_data_offsets_<call> __maybe_unused __data_offsets; |
658 | * struct ftrace_event_call *event_call = &event_<call>; | 658 | * struct ftrace_event_call *event_call = &event_<call>; |
659 | * extern void perf_tpcounter_event(int, u64, u64, void *, int); | 659 | * extern void perf_tp_event(int, u64, u64, void *, int); |
660 | * struct ftrace_raw_##call *entry; | 660 | * struct ftrace_raw_##call *entry; |
661 | * u64 __addr = 0, __count = 1; | 661 | * u64 __addr = 0, __count = 1; |
662 | * unsigned long irq_flags; | 662 | * unsigned long irq_flags; |
@@ -691,7 +691,7 @@ __attribute__((section("_ftrace_events"))) event_##call = { \ | |||
691 | * | 691 | * |
692 | * <assign> <- affect our values | 692 | * <assign> <- affect our values |
693 | * | 693 | * |
694 | * perf_tpcounter_event(event_call->id, __addr, __count, entry, | 694 | * perf_tp_event(event_call->id, __addr, __count, entry, |
695 | * __entry_size); <- submit them to perf counter | 695 | * __entry_size); <- submit them to perf counter |
696 | * } while (0); | 696 | * } while (0); |
697 | * | 697 | * |
@@ -712,7 +712,7 @@ static void ftrace_profile_##call(proto) \ | |||
712 | { \ | 712 | { \ |
713 | struct ftrace_data_offsets_##call __maybe_unused __data_offsets;\ | 713 | struct ftrace_data_offsets_##call __maybe_unused __data_offsets;\ |
714 | struct ftrace_event_call *event_call = &event_##call; \ | 714 | struct ftrace_event_call *event_call = &event_##call; \ |
715 | extern void perf_tpcounter_event(int, u64, u64, void *, int); \ | 715 | extern void perf_tp_event(int, u64, u64, void *, int); \ |
716 | struct ftrace_raw_##call *entry; \ | 716 | struct ftrace_raw_##call *entry; \ |
717 | u64 __addr = 0, __count = 1; \ | 717 | u64 __addr = 0, __count = 1; \ |
718 | unsigned long irq_flags; \ | 718 | unsigned long irq_flags; \ |
@@ -742,7 +742,7 @@ static void ftrace_profile_##call(proto) \ | |||
742 | \ | 742 | \ |
743 | { assign; } \ | 743 | { assign; } \ |
744 | \ | 744 | \ |
745 | perf_tpcounter_event(event_call->id, __addr, __count, entry,\ | 745 | perf_tp_event(event_call->id, __addr, __count, entry,\ |
746 | __entry_size); \ | 746 | __entry_size); \ |
747 | } while (0); \ | 747 | } while (0); \ |
748 | \ | 748 | \ |