diff options
| author | Roman Gushchin <[email protected]> | 2018-07-06 14:34:29 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-09 10:33:49 +0200 |
| commit | f292b87d3ac020418644d8a4bbf29814890505cb (patch) | |
| tree | 7def70e072530d3cfeb81a030f91c14c83340d81 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 6508b6781be076f889e3077a1a5fadf1930a569d (diff) | |
bpf: include errno.h from bpf-cgroup.h
Commit fdb5c4531c1e ("bpf: fix attach type BPF_LIRC_MODE2 dependency
wrt CONFIG_CGROUP_BPF") caused some build issues, detected by 0-DAY
kernel test infrastructure.
The problem is that cgroup_bpf_prog_attach/detach/query() functions
can return -EINVAL error code, which is not defined. Fix this adding
errno.h to includes.
Fixes: fdb5c4531c1e ("bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPF")
Signed-off-by: Roman Gushchin <[email protected]>
Cc: Sean Young <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions