diff options
| author | OGAWA Hirofumi <[email protected]> | 2010-05-24 14:33:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-05-25 08:07:03 -0700 |
| commit | f40c396a9ab04eae526990e2b2cef875b424ed4e (patch) | |
| tree | 92b87fb6feb9470f9aa3cacc9344f7907ab2489c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | d8521fcc5e0ad3e79bbc4231bb20a6cdc2b50164 (diff) | |
ratelimit: add ratelimit_state_init()
For now, all users of ratelimit_state allocates it statically, so
DEFINE_RATELIMIT_STATE() is enough. But, I want to use ratelimit_state
for fs, i.e. per super_block to suppress too many error reports.
So, this adds ratelimit_state_init() to initialize ratelimite_state
which is dynamically allocated, instead of opencoding.
Signed-off-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions