Home
last modified time | relevance | path

Searched refs:log_sz (Results 1 – 3 of 3) sorted by relevance

/third_party/libbpf/src/
Dlibbpf_internal.h368 int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level);
Dlibbpf.c7301 static void patch_log(char *buf, size_t buf_sz, size_t log_sz, argument
7305 size_t rem_sz = (buf + log_sz) - (orig + orig_sz);
7326 } else if (patch_sz - orig_sz > buf_sz - log_sz) {
7328 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz);
7339 char *buf, size_t buf_sz, size_t log_sz, argument
7374 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch);
7378 char *buf, size_t buf_sz, size_t log_sz, argument
7407 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch);
7415 size_t log_sz; local
7421 log_sz = strlen(buf) + 1;
[all …]
Dbtf.c1273 int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level) argument
1283 if (log_sz && !log_buf)
1319 opts.log_size = log_buf ? log_sz : buf_sz;