diff options
| author | Amitkumar Karwar <[email protected]> | 2017-07-06 20:07:04 +0530 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-07-28 17:22:32 +0300 |
| commit | e0d0ae8a4304ce6be488570d085bef278fe941dd (patch) | |
| tree | ffd3aa240dea8cfb69766d56c31133830f17c5b8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1283c6174d919c6ea42fe5781ed0fb3e41bc568c (diff) | |
rsi: use BUILD_BUG_ON check for fsm_state
Whenever new fsm_state enum element is added, fsm_state array
also needs to be updated. If this change is missed, we may end
up doing invalid access in array. BUILD_BUG_ON check will help
to avoid this problem.
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions