diff options
| author | Andrii Nakryiko <[email protected]> | 2019-02-07 11:29:24 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-02-07 18:18:42 -0800 |
| commit | 62b8cea62e8bad0511260faab8e8de04c76a69af (patch) | |
| tree | 41c10dbd721922c2a4f909650fd0d240836349e0 /tools/perf/scripts/python/netdev-times.py | |
| parent | 71bd106d2567675668e253cba3960e3c4bf2e80e (diff) | |
tools/bpf: add missing strings.h include
Few files in libbpf are using bzero() function (defined in strings.h header), but
don't include corresponding header. When libbpf is added as a dependency to pahole,
this undeterministically causes warnings on some machines:
bpf.c:225:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
bzero(&attr, sizeof(attr));
^~~~~
Signed-off-by: Andrii Nakryiko <[email protected]>
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions