aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/kmemtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/kmemtrace.c')
-rw-r--r--kernel/trace/kmemtrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c
index 4f7b5db5dd06..ae259f04ee39 100644
--- a/kernel/trace/kmemtrace.c
+++ b/kernel/trace/kmemtrace.c
@@ -52,6 +52,7 @@ static inline void kmemtrace_alloc(enum kmemtrace_type_id type_id,
52 tracing_generic_entry_update(&entry->ent, 0, 0); 52 tracing_generic_entry_update(&entry->ent, 0, 0);
53 53
54 entry->ent.type = TRACE_KMEM_ALLOC; 54 entry->ent.type = TRACE_KMEM_ALLOC;
55 entry->type_id = type_id;
55 entry->call_site = call_site; 56 entry->call_site = call_site;
56 entry->ptr = ptr; 57 entry->ptr = ptr;
57 entry->bytes_req = bytes_req; 58 entry->bytes_req = bytes_req;