aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2014-06-09 12:55:42 +0800
committerAlex Shi <alex.shi@linaro.org>2014-06-09 12:55:42 +0800
commit3b8d7f4db34913c8e2ea0177723784b646f7424e (patch)
tree1c28a8a8c273dffd031935f5ee509db5c5e0f386 /include/trace
parentf669f023e2ce45ab6e289bd980d435e1dae0e362 (diff)
parentc2f7eb8029e23c4f5445340d8fc0d05367538e6d (diff)
Merge tag v3.10.42 into linux-linaro-lsk
This is the 3.10.42 stable release
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/module.h b/include/trace/events/module.h
index 161932737416..ca298c7157ae 100644
--- a/include/trace/events/module.h
+++ b/include/trace/events/module.h
@@ -78,7 +78,7 @@ DECLARE_EVENT_CLASS(module_refcnt,
TP_fast_assign(
__entry->ip = ip;
- __entry->refcnt = __this_cpu_read(mod->refptr->incs) + __this_cpu_read(mod->refptr->decs);
+ __entry->refcnt = __this_cpu_read(mod->refptr->incs) - __this_cpu_read(mod->refptr->decs);
__assign_str(name, mod->name);
),