diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-01 16:35:20 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 18:38:47 -0400 |
| commit | fee5997c17562e95fb1fecc142efb2da0934baa4 (patch) | |
| tree | b764e796d218129727c3c0c7a9a9e69815d8f4d5 /include/trace | |
| parent | db023296f0115d2fe01fdabad54678f2b806da23 (diff) | |
rcu: Convert rcu_fqs tracepoint to ->gp_seq
This commit makes the rcu_fqs tracepoint use ->gp_seq instead of ->gpnum.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/rcu.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h index ac4d9d4a1ebf..7d3650cc9d30 100644 --- a/include/trace/events/rcu.h +++ b/include/trace/events/rcu.h | |||
| @@ -398,26 +398,26 @@ TRACE_EVENT(rcu_quiescent_state_report, | |||
| 398 | */ | 398 | */ |
| 399 | TRACE_EVENT(rcu_fqs, | 399 | TRACE_EVENT(rcu_fqs, |
| 400 | 400 | ||
| 401 | TP_PROTO(const char *rcuname, unsigned long gpnum, int cpu, const char *qsevent), | 401 | TP_PROTO(const char *rcuname, unsigned long gp_seq, int cpu, const char *qsevent), |
| 402 | 402 | ||
| 403 | TP_ARGS(rcuname, gpnum, cpu, qsevent), | 403 | TP_ARGS(rcuname, gp_seq, cpu, qsevent), |
| 404 | 404 | ||
| 405 | TP_STRUCT__entry( | 405 | TP_STRUCT__entry( |
| 406 | __field(const char *, rcuname) | 406 | __field(const char *, rcuname) |
| 407 | __field(unsigned long, gpnum) | 407 | __field(unsigned long, gp_seq) |
| 408 | __field(int, cpu) | 408 | __field(int, cpu) |
| 409 | __field(const char *, qsevent) | 409 | __field(const char *, qsevent) |
| 410 | ), | 410 | ), |
| 411 | 411 | ||
| 412 | TP_fast_assign( | 412 | TP_fast_assign( |
| 413 | __entry->rcuname = rcuname; | 413 | __entry->rcuname = rcuname; |
| 414 | __entry->gpnum = gpnum; | 414 | __entry->gp_seq = gp_seq; |
| 415 | __entry->cpu = cpu; | 415 | __entry->cpu = cpu; |
| 416 | __entry->qsevent = qsevent; | 416 | __entry->qsevent = qsevent; |
| 417 | ), | 417 | ), |
| 418 | 418 | ||
| 419 | TP_printk("%s %lu %d %s", | 419 | TP_printk("%s %lu %d %s", |
| 420 | __entry->rcuname, __entry->gpnum, | 420 | __entry->rcuname, __entry->gp_seq, |
| 421 | __entry->cpu, __entry->qsevent) | 421 | __entry->cpu, __entry->qsevent) |
| 422 | ); | 422 | ); |
| 423 | 423 | ||
| @@ -766,7 +766,7 @@ TRACE_EVENT(rcu_barrier, | |||
| 766 | #define trace_rcu_quiescent_state_report(rcuname, gp_seq, mask, qsmask, level, \ | 766 | #define trace_rcu_quiescent_state_report(rcuname, gp_seq, mask, qsmask, level, \ |
| 767 | grplo, grphi, gp_tasks) do { } \ | 767 | grplo, grphi, gp_tasks) do { } \ |
| 768 | while (0) | 768 | while (0) |
| 769 | #define trace_rcu_fqs(rcuname, gpnum, cpu, qsevent) do { } while (0) | 769 | #define trace_rcu_fqs(rcuname, gp_seq, cpu, qsevent) do { } while (0) |
| 770 | #define trace_rcu_dyntick(polarity, oldnesting, newnesting, dyntick) do { } while (0) | 770 | #define trace_rcu_dyntick(polarity, oldnesting, newnesting, dyntick) do { } while (0) |
| 771 | #define trace_rcu_callback(rcuname, rhp, qlen_lazy, qlen) do { } while (0) | 771 | #define trace_rcu_callback(rcuname, rhp, qlen_lazy, qlen) do { } while (0) |
| 772 | #define trace_rcu_kfree_callback(rcuname, rhp, offset, qlen_lazy, qlen) \ | 772 | #define trace_rcu_kfree_callback(rcuname, rhp, offset, qlen_lazy, qlen) \ |
