Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140595
b: refs/heads/master
c: 3fd4bc0
h: refs/heads/master
i:
  140593: 0ea692b
  140591: bf0e174
v: v3
  • Loading branch information
Ingo Molnar committed Dec 30, 2008
1 parent c6911a0 commit 6e3415b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b6ab4afee4ed56d0f69df59485585cff828c327d
refs/heads/master: 3fd4bc015ef879a7d2b955ce97fb125e3a51ba7e
3 changes: 2 additions & 1 deletion trunk/kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ config HW_BRANCH_TRACER
config KMEMTRACE
bool "Trace SLAB allocations"
select TRACING
depends on RELAY
select MARKERS
select RELAY
help
kmemtrace provides tracing for slab allocator functions, such as
kmalloc, kfree, kmem_cache_alloc, kmem_cache_free etc.. Collected
Expand Down
2 changes: 2 additions & 0 deletions trunk/kernel/trace/kmemtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ void kmemtrace_mark_alloc_node(enum kmemtrace_type_id type_id,

trace_wake_up();
}
EXPORT_SYMBOL(kmemtrace_mark_alloc_node);

void kmemtrace_mark_free(enum kmemtrace_type_id type_id,
unsigned long call_site,
Expand Down Expand Up @@ -325,6 +326,7 @@ void kmemtrace_mark_free(enum kmemtrace_type_id type_id,

trace_wake_up();
}
EXPORT_SYMBOL(kmemtrace_mark_free);

static struct tracer kmem_tracer __read_mostly = {
.name = "kmemtrace",
Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
#include <linux/cpu.h>
#include <linux/sysctl.h>
#include <linux/module.h>
#include <linux/kmemtrace.h>
#include <tracing/kmemtrace.h>
#include <linux/rcupdate.h>
#include <linux/string.h>
#include <linux/uaccess.h>
Expand Down

0 comments on commit 6e3415b

Please sign in to comment.