Commit 198b21c
sched: Add helper nr_context_switches_cpu()
Returns the number of context switches on the specified CPU, which can be
used to diagnose rcu stall.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>1 parent c679473 commit 198b21c
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5221 | 5221 | | |
5222 | 5222 | | |
5223 | 5223 | | |
| 5224 | + | |
| 5225 | + | |
| 5226 | + | |
| 5227 | + | |
| 5228 | + | |
5224 | 5229 | | |
5225 | 5230 | | |
5226 | 5231 | | |
| |||
0 commit comments