diff options
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 45b4b6e55891..c502b18594cc 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -4347,7 +4347,7 @@ static int perf_tp_event_match(struct perf_event *event, | |||
4347 | 4347 | ||
4348 | static void tp_perf_event_destroy(struct perf_event *event) | 4348 | static void tp_perf_event_destroy(struct perf_event *event) |
4349 | { | 4349 | { |
4350 | ftrace_profile_disable(event->attr.config); | 4350 | perf_trace_disable(event->attr.config); |
4351 | } | 4351 | } |
4352 | 4352 | ||
4353 | static const struct pmu *tp_perf_event_init(struct perf_event *event) | 4353 | static const struct pmu *tp_perf_event_init(struct perf_event *event) |
@@ -4361,7 +4361,7 @@ static const struct pmu *tp_perf_event_init(struct perf_event *event) | |||
4361 | !capable(CAP_SYS_ADMIN)) | 4361 | !capable(CAP_SYS_ADMIN)) |
4362 | return ERR_PTR(-EPERM); | 4362 | return ERR_PTR(-EPERM); |
4363 | 4363 | ||
4364 | if (ftrace_profile_enable(event->attr.config)) | 4364 | if (perf_trace_enable(event->attr.config)) |
4365 | return NULL; | 4365 | return NULL; |
4366 | 4366 | ||
4367 | event->destroy = tp_perf_event_destroy; | 4367 | event->destroy = tp_perf_event_destroy; |