aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events/rcu.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-10-04 15:55:16 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-11-28 15:51:18 -0800
commit84585aa8b6ad24e5bdfba9db4a320a6aeed192ab (patch)
tree5a1f2c43c2bb24d8458071b848bc57a52465d81b /include/trace/events/rcu.h
parentrcu: Add tracing to irq/NMI dyntick-idle transitions (diff)
downloadlinux-dev-84585aa8b6ad24e5bdfba9db4a320a6aeed192ab.tar.xz
linux-dev-84585aa8b6ad24e5bdfba9db4a320a6aeed192ab.zip
rcu: Shrink ->dynticks_{nmi_,}nesting from long long to long
Because the ->dynticks_nesting field now only contains the process-based nesting level instead of a value encoding both the process nesting level and the irq "nesting" level, we no longer need a long long, even on 32-bit systems. This commit therefore changes both the ->dynticks_nesting and ->dynticks_nmi_nesting fields to long. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/trace/events/rcu.h')
-rw-r--r--include/trace/events/rcu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h
index 4674b21247f7..b0a48231ea0e 100644
--- a/include/trace/events/rcu.h
+++ b/include/trace/events/rcu.h
@@ -436,14 +436,14 @@ TRACE_EVENT(rcu_fqs,
*/
TRACE_EVENT(rcu_dyntick,
- TP_PROTO(const char *polarity, long long oldnesting, long long newnesting),
+ TP_PROTO(const char *polarity, long oldnesting, long newnesting),
TP_ARGS(polarity, oldnesting, newnesting),
TP_STRUCT__entry(
__field(const char *, polarity)
- __field(long long, oldnesting)
- __field(long long, newnesting)
+ __field(long, oldnesting)
+ __field(long, newnesting)
),
TP_fast_assign(
@@ -452,7 +452,7 @@ TRACE_EVENT(rcu_dyntick,
__entry->newnesting = newnesting;
),
- TP_printk("%s %llx %llx", __entry->polarity,
+ TP_printk("%s %lx %lx", __entry->polarity,
__entry->oldnesting, __entry->newnesting)
);