aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/qspinlock_stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/locking/qspinlock_stat.h')
-rw-r--r--kernel/locking/qspinlock_stat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/locking/qspinlock_stat.h b/kernel/locking/qspinlock_stat.h
index 6bd78c0740fc..42d3d8dc8f49 100644
--- a/kernel/locking/qspinlock_stat.h
+++ b/kernel/locking/qspinlock_stat.h
@@ -55,6 +55,9 @@ enum qlock_stats {
55 qstat_pv_wait_node, 55 qstat_pv_wait_node,
56 qstat_lock_pending, 56 qstat_lock_pending,
57 qstat_lock_slowpath, 57 qstat_lock_slowpath,
58 qstat_lock_idx1,
59 qstat_lock_idx2,
60 qstat_lock_idx3,
58 qstat_num, /* Total number of statistical counters */ 61 qstat_num, /* Total number of statistical counters */
59 qstat_reset_cnts = qstat_num, 62 qstat_reset_cnts = qstat_num,
60}; 63};
@@ -82,6 +85,9 @@ static const char * const qstat_names[qstat_num + 1] = {
82 [qstat_pv_wait_node] = "pv_wait_node", 85 [qstat_pv_wait_node] = "pv_wait_node",
83 [qstat_lock_pending] = "lock_pending", 86 [qstat_lock_pending] = "lock_pending",
84 [qstat_lock_slowpath] = "lock_slowpath", 87 [qstat_lock_slowpath] = "lock_slowpath",
88 [qstat_lock_idx1] = "lock_index1",
89 [qstat_lock_idx2] = "lock_index2",
90 [qstat_lock_idx3] = "lock_index3",
85 [qstat_reset_cnts] = "reset_counters", 91 [qstat_reset_cnts] = "reset_counters",
86}; 92};
87 93