diff options
author | Akinobu Mita <[email protected]> | 2017-07-14 14:50:00 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-07-14 15:05:13 -0700 |
commit | 168c42bc56d8d47f67f2a5206506cd4ba3c18475 (patch) | |
tree | 7e82690179b0b796505e493452f04c60df3613d9 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 1203c8e6fb0aa1e9c39d2323607a74c3adc34fd8 (diff) |
fault-inject: add /proc/<pid>/fail-nth
fail-nth interface is only created in /proc/self/task/<current-tid>/.
This change also adds it in /proc/<pid>/.
This makes shell based tool a bit simpler.
$ bash -c "builtin echo 100 > /proc/self/fail-nth && exec ls /"
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Akinobu Mita <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions