use user-provided log_level in bpf_prog_load
For the case where user provided a log buffer, the
user provided log_level is already been used.
For the case where user provided a log_level and bcc
needs to allocate buffer, the log_level is fixed to 1.
Use user provided log level instead.
Signed-off-by: Yonghong Song <yhs@fb.com>
Showing
Please register or sign in to comment