diff options
author | 2017-12-11 11:36:46 -0500 | |
---|---|---|
committer | 2017-12-12 08:56:26 -0800 | |
commit | 92ace9991da08827e809c2d120108a96a281e7fc (patch) | |
tree | f228d246aabb6d72e09d97684ff9a6ac6768c50a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'bpf-tracing-multiprog-tp-query' (diff) | |
download | linux-dev-92ace9991da08827e809c2d120108a96a281e7fc.tar.xz linux-dev-92ace9991da08827e809c2d120108a96a281e7fc.zip |
add infrastructure for tagging functions as error injectable
Using BPF we can override kprob'ed functions and return arbitrary
values. Obviously this can be a bit unsafe, so make this feature opt-in
for functions. Simply tag a function with KPROBE_ERROR_INJECT_SYMBOL in
order to give BPF access to that function for error injection purposes.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions