diff options
author | minskey guo <[email protected]> | 2010-09-17 14:03:27 +0800 |
---|---|---|
committer | Matthew Garrett <[email protected]> | 2010-10-05 14:59:06 -0400 |
commit | a7abda8d721359363d679c5f2de964f29419568c (patch) | |
tree | 8f0fe2df8a421a8b1f558a9952fffc2f9d411472 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | fed522f7ea780d195d5d3e55df95fee520136e17 (diff) |
NULL pointer might be used in ips_monitor()
The patch is to create ips_adjust thread before ips_monitor begins
to run because the latter will kthread_stop() or wake up the former
via ips->adjust pointer. Without this change, it is possible that
ips->adjust is NULL when kthread_stop() or wake_up_process() is
called in ips_monitor().
Signed-off-by: minskey guo <[email protected]>
Acked-by: Jesse Barnes <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions