WARNING: line length of 81 exceeds 80 columns #65: FILE: tools/lib/bpf/libbpf.c:7775: + return type == BPF_TRACE_FENTRY_MULTI || type == BPF_TRACE_FEXIT_MULTI || WARNING: line length of 94 exceeds 80 columns #69: FILE: tools/lib/bpf/libbpf.c:7779: +static const struct module_btf *find_attach_module(struct bpf_object *obj, const char *attach) WARNING: line length of 93 exceeds 80 columns #94: FILE: tools/lib/bpf/libbpf.c:7804: + if (strncmp(mod->name, mod_name, mod_len) == 0 && mod->name[mod_len] == '\0') WARNING: line length of 101 exceeds 80 columns #152: FILE: tools/lib/bpf/libbpf.c:10072: +static int attach_tracing_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link); WARNING: line length of 100 exceeds 80 columns #160: FILE: tools/lib/bpf/libbpf.c:10121: + SEC_DEF("fsession.multi+", TRACING, BPF_TRACE_FSESSION_MULTI, 0, attach_tracing_multi), WARNING: line length of 112 exceeds 80 columns #161: FILE: tools/lib/bpf/libbpf.c:10122: + SEC_DEF("fsession.multi.s+", TRACING, BPF_TRACE_FSESSION_MULTI, SEC_SLEEPABLE, attach_tracing_multi), WARNING: line length of 98 exceeds 80 columns #162: FILE: tools/lib/bpf/libbpf.c:10123: + SEC_DEF("fentry.multi+", TRACING, BPF_TRACE_FENTRY_MULTI, 0, attach_tracing_multi), WARNING: line length of 97 exceeds 80 columns #163: FILE: tools/lib/bpf/libbpf.c:10124: + SEC_DEF("fexit.multi+", TRACING, BPF_TRACE_FEXIT_MULTI, 0, attach_tracing_multi), WARNING: line length of 110 exceeds 80 columns #164: FILE: tools/lib/bpf/libbpf.c:10125: + SEC_DEF("fentry.multi.s+", TRACING, BPF_TRACE_FENTRY_MULTI, SEC_SLEEPABLE, attach_tracing_multi), WARNING: line length of 109 exceeds 80 columns #165: FILE: tools/lib/bpf/libbpf.c:10126: + SEC_DEF("fexit.multi.s+", TRACING, BPF_TRACE_FEXIT_MULTI, SEC_SLEEPABLE, attach_tracing_multi), WARNING: line length of 85 exceeds 80 columns #174: FILE: tools/lib/bpf/libbpf.c:12596: +collect_btf_func_ids_by_glob(const struct btf *btf, const char *pattern, __u32 **ids) WARNING: line length of 85 exceeds 80 columns #198: FILE: tools/lib/bpf/libbpf.c:12620: + err = libbpf_ensure_mem((void **) ids, &cap, sizeof(**ids), cnt + 1); CHECK: No space is necessary after a cast #198: FILE: tools/lib/bpf/libbpf.c:12620: + err = libbpf_ensure_mem((void **) ids, &cap, sizeof(**ids), cnt + 1); WARNING: line length of 101 exceeds 80 columns #209: FILE: tools/lib/bpf/libbpf.c:12631: +static int collect_func_ids_by_glob(const struct bpf_program *prog, const char *pattern, __u32 **ids) WARNING: line length of 82 exceeds 80 columns #221: FILE: tools/lib/bpf/libbpf.c:12643: + /* In case we have module specified, we will find its btf and use that. */ WARNING: line length of 86 exceeds 80 columns #246: FILE: tools/lib/bpf/libbpf.c:12668: +bpf_program__attach_tracing_multi(const struct bpf_program *prog, const char *pattern, WARNING: line length of 82 exceeds 80 columns #296: FILE: tools/lib/bpf/libbpf.c:12718: + link_fd = bpf_link_create(prog_fd, 0, prog->expected_attach_type, &lopts); WARNING: line length of 86 exceeds 80 columns #299: FILE: tools/lib/bpf/libbpf.c:12721: + pr_warn("prog '%s': failed to attach: %s\n", prog->name, errstr(err)); WARNING: line length of 100 exceeds 80 columns #312: FILE: tools/lib/bpf/libbpf.c:12734: +static int attach_tracing_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) ERROR: space prohibited before that ':' (ctx:WxV) #381: FILE: tools/lib/bpf/libbpf.h:735: + size_t :0; ^ WARNING: line length of 86 exceeds 80 columns #387: FILE: tools/lib/bpf/libbpf.h:741: +bpf_program__attach_tracing_multi(const struct bpf_program *prog, const char *pattern, total: 1 errors, 19 warnings, 1 checks, 331 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit bfa55fce6c04 ("libbpf: Add support to create tracing multi link") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.