Skip to content

Commit

Permalink
kmemtrace: add kmemtrace_init()
Browse files Browse the repository at this point in the history
Impact: build fix

leftover from the relayfs version - but we want to keep it because
this call is the earliest opportunity when we can start kmemtrace
tracing. (after kmem_cache_init()).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jan 6, 2009
1 parent 3d7a96f commit 3e80680
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kernel/trace/kmemtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@ static struct tracer kmem_tracer __read_mostly = {
.flags = &kmem_tracer_flags
};

void kmemtrace_init(void)
{
/* earliest opportunity to start kmem tracing */
}

static int __init init_kmem_tracer(void)
{
return register_tracer(&kmem_tracer);
Expand Down

0 comments on commit 3e80680

Please sign in to comment.