aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/events
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2014-06-24 04:20:24 -0400
committerIngo Molnar <mingo@kernel.org>2014-07-05 05:21:52 -0400
commit985c8dcbe15ddd8a1b98dc6b9c6403cb5d7012ab (patch)
tree6d8f319406c529cc7fcdaea38dbe05f32b52d6fc /kernel/events
parentcc56d673a9902aecd1c03bea6479eaff6de6967a (diff)
perf: Make perf_event_init_context() function static
Leftover from '8dc85d5 perf: Multiple task contexts'. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1403598026-2310-1-git-send-email-jolsa@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
-rw-r--r--kernel/events/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c
index a33d9a2bcbd7..67e3b9c9a7d4 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -7776,7 +7776,7 @@ inherit_task_group(struct perf_event *event, struct task_struct *parent,
7776/* 7776/*
7777 * Initialize the perf_event context in task_struct 7777 * Initialize the perf_event context in task_struct
7778 */ 7778 */
7779int perf_event_init_context(struct task_struct *child, int ctxn) 7779static int perf_event_init_context(struct task_struct *child, int ctxn)
7780{ 7780{
7781 struct perf_event_context *child_ctx, *parent_ctx; 7781 struct perf_event_context *child_ctx, *parent_ctx;
7782 struct perf_event_context *cloned_ctx; 7782 struct perf_event_context *cloned_ctx;