diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-12-30 00:51:20 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-26 11:04:54 -0400 |
commit | bd9f0686fc8c9a01c6850b1c611d1c9ad80b86d6 (patch) | |
tree | 9e19e1d9b746ee000864e42b50b49dbed89f946a /include/trace | |
parent | b92db6cb7efcbd41e469e1d757c47da4865f7622 (diff) |
rcu: Repurpose no-CBs event tracing to future-GP events
Dyntick-idle CPUs need to be able to pre-announce their need for grace
periods. This can be done using something similar to the mechanism used
by no-CB CPUs to announce their need for grace periods. This commit
moves in this direction by renaming the no-CBs grace-period event tracing
to suit the new future-grace-period needs.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/rcu.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h index cdfed6d386eb..59ebcc89f148 100644 --- a/include/trace/events/rcu.h +++ b/include/trace/events/rcu.h | |||
@@ -72,10 +72,10 @@ TRACE_EVENT(rcu_grace_period, | |||
72 | ); | 72 | ); |
73 | 73 | ||
74 | /* | 74 | /* |
75 | * Tracepoint for no-callbacks grace-period events. The caller should | 75 | * Tracepoint for future grace-period events, including those for no-callbacks |
76 | * pull the data from the rcu_node structure, other than rcuname, which | 76 | * CPUs. The caller should pull the data from the rcu_node structure, |
77 | * comes from the rcu_state structure, and event, which is one of the | 77 | * other than rcuname, which comes from the rcu_state structure, and event, |
78 | * following: | 78 | * which is one of the following: |
79 | * | 79 | * |
80 | * "Startleaf": Request a nocb grace period based on leaf-node data. | 80 | * "Startleaf": Request a nocb grace period based on leaf-node data. |
81 | * "Startedleaf": Leaf-node start proved sufficient. | 81 | * "Startedleaf": Leaf-node start proved sufficient. |
@@ -87,7 +87,7 @@ TRACE_EVENT(rcu_grace_period, | |||
87 | * "Cleanup": Clean up rcu_node structure after previous GP. | 87 | * "Cleanup": Clean up rcu_node structure after previous GP. |
88 | * "CleanupMore": Clean up, and another no-CB GP is needed. | 88 | * "CleanupMore": Clean up, and another no-CB GP is needed. |
89 | */ | 89 | */ |
90 | TRACE_EVENT(rcu_nocb_grace_period, | 90 | TRACE_EVENT(rcu_future_grace_period, |
91 | 91 | ||
92 | TP_PROTO(char *rcuname, unsigned long gpnum, unsigned long completed, | 92 | TP_PROTO(char *rcuname, unsigned long gpnum, unsigned long completed, |
93 | unsigned long c, u8 level, int grplo, int grphi, | 93 | unsigned long c, u8 level, int grplo, int grphi, |
@@ -653,9 +653,9 @@ TRACE_EVENT(rcu_barrier, | |||
653 | #define trace_rcu_grace_period(rcuname, gpnum, gpevent) do { } while (0) | 653 | #define trace_rcu_grace_period(rcuname, gpnum, gpevent) do { } while (0) |
654 | #define trace_rcu_grace_period_init(rcuname, gpnum, level, grplo, grphi, \ | 654 | #define trace_rcu_grace_period_init(rcuname, gpnum, level, grplo, grphi, \ |
655 | qsmask) do { } while (0) | 655 | qsmask) do { } while (0) |
656 | #define trace_rcu_nocb_grace_period(rcuname, gpnum, completed, c, \ | 656 | #define trace_rcu_future_grace_period(rcuname, gpnum, completed, c, \ |
657 | level, grplo, grphi, event) \ | 657 | level, grplo, grphi, event) \ |
658 | do { } while (0) | 658 | do { } while (0) |
659 | #define trace_rcu_preempt_task(rcuname, pid, gpnum) do { } while (0) | 659 | #define trace_rcu_preempt_task(rcuname, pid, gpnum) do { } while (0) |
660 | #define trace_rcu_unlock_preempted_task(rcuname, gpnum, pid) do { } while (0) | 660 | #define trace_rcu_unlock_preempted_task(rcuname, gpnum, pid) do { } while (0) |
661 | #define trace_rcu_quiescent_state_report(rcuname, gpnum, mask, qsmask, level, \ | 661 | #define trace_rcu_quiescent_state_report(rcuname, gpnum, mask, qsmask, level, \ |