diff options
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/module.h b/include/trace/events/module.h index f07b44a2b240..c7bb2f0482fe 100644 --- a/include/trace/events/module.h +++ b/include/trace/events/module.h | |||
@@ -68,7 +68,7 @@ DECLARE_EVENT_CLASS(module_refcnt, | |||
68 | 68 | ||
69 | TP_fast_assign( | 69 | TP_fast_assign( |
70 | __entry->ip = ip; | 70 | __entry->ip = ip; |
71 | __entry->refcnt = __this_cpu_read(mod->refptr->count); | 71 | __entry->refcnt = __this_cpu_read(mod->refptr->incs) + __this_cpu_read(mod->refptr->decs); |
72 | __assign_str(name, mod->name); | 72 | __assign_str(name, mod->name); |
73 | ), | 73 | ), |
74 | 74 | ||