diff options
| author | Andrii Nakryiko <[email protected]> | 2020-08-18 18:36:06 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-18 18:38:25 -0700 |
| commit | 85367030a6c7ef3373347cf816c698995074f6f0 (patch) | |
| tree | b0f4b19f18ec9d8d64893a4b7a3e4790851185e2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7084566a236fbc98beb11430d8d67dd08b2ac151 (diff) | |
libbpf: Centralize poisoning and poison reallocarray()
Most of libbpf source files already include libbpf_internal.h, so it's a good
place to centralize identifier poisoning. So move kernel integer type
poisoning there. And also add reallocarray to a poison list to prevent
accidental use of it. libbpf_reallocarray() should be used universally
instead.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions