diff options
author | 2018-05-13 20:15:41 -0700 | |
---|---|---|
committer | 2018-07-12 15:38:53 -0700 | |
commit | 5ca0905f6787e930bc2a626cf1d8f69fab52acef (patch) | |
tree | 5bcacd1ddb00b2596b86905b4f2b764ae0a7d8db /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | rcu: Produce last "CleanupMore" trace only if late-breaking request (diff) | |
download | wireguard-linux-5ca0905f6787e930bc2a626cf1d8f69fab52acef.tar.xz wireguard-linux-5ca0905f6787e930bc2a626cf1d8f69fab52acef.zip |
rcu: Fix cpustart tracepoint gp_seq number
The "cpustart" trace event shows a stale gp_seq. This is because it uses
rdp->gp_seq, which is updated only at the end of the __note_gp_changes()
function. This commit therefore instead uses rnp->gp_seq.
An alternative fix would be to update rdp->gp_seq earlier, but this would
break RCU's detection of the beginning of a new-to-this-CPU grace period.
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions