[PATCH tip/core/rcu 01/10] rcu: Fix blimit type for trace_rcu_batch_start()

2013-01-26 Thread Paul E. McKenney
From: "Paul E. McKenney" 

When the type of global variable blimit changed from int to long, the
type of the blimit argument of trace_rcu_batch_start() needed to have
changed.  This commit fixes this issue.

Signed-off-by: Paul E. McKenney 
Reviewed-by: Josh Triplett 
---
 include/trace/events/rcu.h |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h
index d4f559b..f919498 100644
--- a/include/trace/events/rcu.h
+++ b/include/trace/events/rcu.h
@@ -393,7 +393,7 @@ TRACE_EVENT(rcu_kfree_callback,
  */
 TRACE_EVENT(rcu_batch_start,
 
-   TP_PROTO(char *rcuname, long qlen_lazy, long qlen, int blimit),
+   TP_PROTO(char *rcuname, long qlen_lazy, long qlen, long blimit),
 
TP_ARGS(rcuname, qlen_lazy, qlen, blimit),
 
@@ -401,7 +401,7 @@ TRACE_EVENT(rcu_batch_start,
__field(char *, rcuname)
__field(long, qlen_lazy)
__field(long, qlen)
-   __field(int, blimit)
+   __field(long, blimit)
),
 
TP_fast_assign(
@@ -411,7 +411,7 @@ TRACE_EVENT(rcu_batch_start,
__entry->blimit = blimit;
),
 
-   TP_printk("%s CBs=%ld/%ld bl=%d",
+   TP_printk("%s CBs=%ld/%ld bl=%ld",
  __entry->rcuname, __entry->qlen_lazy, __entry->qlen,
  __entry->blimit)
 );
-- 
1.7.8

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH tip/core/rcu 01/10] rcu: Fix blimit type for trace_rcu_batch_start()

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com

When the type of global variable blimit changed from int to long, the
type of the blimit argument of trace_rcu_batch_start() needed to have
changed.  This commit fixes this issue.

Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com
Reviewed-by: Josh Triplett j...@joshtriplett.org
---
 include/trace/events/rcu.h |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h
index d4f559b..f919498 100644
--- a/include/trace/events/rcu.h
+++ b/include/trace/events/rcu.h
@@ -393,7 +393,7 @@ TRACE_EVENT(rcu_kfree_callback,
  */
 TRACE_EVENT(rcu_batch_start,
 
-   TP_PROTO(char *rcuname, long qlen_lazy, long qlen, int blimit),
+   TP_PROTO(char *rcuname, long qlen_lazy, long qlen, long blimit),
 
TP_ARGS(rcuname, qlen_lazy, qlen, blimit),
 
@@ -401,7 +401,7 @@ TRACE_EVENT(rcu_batch_start,
__field(char *, rcuname)
__field(long, qlen_lazy)
__field(long, qlen)
-   __field(int, blimit)
+   __field(long, blimit)
),
 
TP_fast_assign(
@@ -411,7 +411,7 @@ TRACE_EVENT(rcu_batch_start,
__entry-blimit = blimit;
),
 
-   TP_printk(%s CBs=%ld/%ld bl=%d,
+   TP_printk(%s CBs=%ld/%ld bl=%ld,
  __entry-rcuname, __entry-qlen_lazy, __entry-qlen,
  __entry-blimit)
 );
-- 
1.7.8

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/