diff options
| author | Andrii Nakryiko <[email protected]> | 2019-05-29 10:36:04 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-05-30 01:23:34 +0200 |
| commit | be5c5d4e9d8cbdd7fcdcbc45e86e34bc0bd1cefd (patch) | |
| tree | 792ac7428a29e496e2ce8f5622e81570fa89872d /tools/perf/scripts | |
| parent | 8ca990ce0d402d5aaf05f7a33ff025fcbcbb5f93 (diff) | |
libbpf: preserve errno before calling into user callback
pr_warning ultimately may call into user-provided callback function,
which can clobber errno value, so we need to save it before that.
Acked-by: Song Liu <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions