diff options
| author | Chuansheng Liu <[email protected]> | 2012-12-17 15:59:50 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-17 17:15:13 -0800 |
| commit | 0f34c400914f165b7b3812459be2d77b8aa1f1e4 (patch) | |
| tree | b45e4acaadd16362d08d107f24ac63b6e61e142c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2bf0a8f67fae9906c6497886203f6e5cb7168df6 (diff) | |
watchdog: store the watchdog sample period as a variable
Currently getting the sample period is always thru a complex
calculation: get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5).
We can store the sample period as a variable, and set it as __read_mostly
type.
Signed-off-by: liu chuansheng <[email protected]>
Cc: Don Zickus <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions