mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
dbdd2c7f8c
Add bpf_program__set_log_level() and bpf_program__log_level() to fetch and adjust log_level sent during BPF_PROG_LOAD command. This allows to selectively request more or less verbose output in BPF verifier log. Also bump libbpf version to 0.7 and make these APIs the first in v0.7. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211201232824.3166325-3-andrii@kernel.org
10 lines
242 B
C
10 lines
242 B
C
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
|
/* Copyright (C) 2021 Facebook */
|
|
#ifndef __LIBBPF_VERSION_H
|
|
#define __LIBBPF_VERSION_H
|
|
|
|
#define LIBBPF_MAJOR_VERSION 0
|
|
#define LIBBPF_MINOR_VERSION 7
|
|
|
|
#endif /* __LIBBPF_VERSION_H */
|