diff options
| author | Björn Töpel <bjorn.topel@intel.com> | 2021-03-10 11:09:28 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-03-11 00:38:07 +0300 |
| commit | 2882c48bf8f2fb9ec31cbb68be6b979da48f880d (patch) | |
| tree | a24609c89cad61c8033009f57967c525d44461da /tools/perf/scripts/python/flamegraph.py | |
| parent | a9c80b03e586fd3819089fbd33c38fb65ad5e00c (diff) | |
| download | linux-2882c48bf8f2fb9ec31cbb68be6b979da48f880d.tar.xz | |
libbpf: xsk: Remove linux/compiler.h header
In commit 291471dd1559 ("libbpf, xsk: Add libbpf_smp_store_release
libbpf_smp_load_acquire") linux/compiler.h was added as a dependency
to xsk.h, which is the user-facing API. This makes it harder for
userspace application to consume the library. Here the header
inclusion is removed, and instead {READ,WRITE}_ONCE() is added
explicitly.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210310080929.641212-2-bjorn.topel@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
