diff options
| author | Stanislav Fomichev <[email protected]> | 2018-11-21 09:29:44 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-11-21 23:15:41 +0100 |
| commit | 8c4905b995c649ac71e21611abc2fcefc904b56a (patch) | |
| tree | 8f81fc53ebbdf9a0c08cd0b6b9b16d5a19d33655 /tools/perf/scripts/python/sched-migration.py | |
| parent | 462c124c590fe633564192dbfa26e99af788a67c (diff) | |
libbpf: make sure bpf headers are c++ include-able
Wrap headers in extern "C", to turn off C++ mangling.
This simplifies including libbpf in c++ and linking against it.
v2 changes:
* do the same for btf.h
v3 changes:
* test_libbpf.cpp to test for possible future c++ breakages
Signed-off-by: Stanislav Fomichev <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions