aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexander Gordeev <[email protected]>2015-06-03 08:18:25 +0200
committerPaul E. McKenney <[email protected]>2015-07-15 14:45:14 -0700
commit679f9858b1769d740d933f5f1ad9dbe3292f26d2 (patch)
tree0f1859a188d7ad2695aff72c005f9d38fbb7dd44 /tools/perf/scripts/python/stackcollapse.py
parent372b0ec24f6b516174934d68fd86d2056f1a5bba (diff)
rcu: Cleanup rcu_init_geometry() code and arithmetics
This update simplifies rcu_init_geometry() code flow and makes calculation of the total number of rcu_node structures more easy to read. The update relies on the fact num_rcu_lvl[] is never accessed beyond rcu_num_lvls index by the rest of the code. Therefore, there is no need initialize the whole num_rcu_lvl[]. Cc: "Paul E. McKenney" <[email protected]> Cc: Steven Rostedt <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions