WARNING: line length of 81 exceeds 80 columns #65: FILE: tools/lib/bpf/libbpf.c:7721: + return type == BPF_TRACE_FENTRY_MULTI || type == BPF_TRACE_FEXIT_MULTI || WARNING: line length of 101 exceeds 80 columns #135: FILE: tools/lib/bpf/libbpf.c:9896: +static int attach_tracing_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link); WARNING: line length of 100 exceeds 80 columns #143: FILE: tools/lib/bpf/libbpf.c:9945: + SEC_DEF("fsession.multi+", TRACING, BPF_TRACE_FSESSION_MULTI, 0, attach_tracing_multi), WARNING: line length of 112 exceeds 80 columns #144: FILE: tools/lib/bpf/libbpf.c:9946: + SEC_DEF("fsession.multi.s+", TRACING, BPF_TRACE_FSESSION_MULTI, SEC_SLEEPABLE, attach_tracing_multi), WARNING: line length of 98 exceeds 80 columns #145: FILE: tools/lib/bpf/libbpf.c:9947: + SEC_DEF("fentry.multi+", TRACING, BPF_TRACE_FENTRY_MULTI, 0, attach_tracing_multi), WARNING: line length of 97 exceeds 80 columns #146: FILE: tools/lib/bpf/libbpf.c:9948: + SEC_DEF("fexit.multi+", TRACING, BPF_TRACE_FEXIT_MULTI, 0, attach_tracing_multi), WARNING: line length of 110 exceeds 80 columns #147: FILE: tools/lib/bpf/libbpf.c:9949: + SEC_DEF("fentry.multi.s+", TRACING, BPF_TRACE_FENTRY_MULTI, SEC_SLEEPABLE, attach_tracing_multi), WARNING: line length of 109 exceeds 80 columns #148: FILE: tools/lib/bpf/libbpf.c:9950: + SEC_DEF("fexit.multi.s+", TRACING, BPF_TRACE_FEXIT_MULTI, SEC_SLEEPABLE, attach_tracing_multi), WARNING: line length of 85 exceeds 80 columns #211: FILE: tools/lib/bpf/libbpf.c:12381: +collect_btf_func_ids_by_glob(const struct btf *btf, const char *pattern, __u32 **ids) WARNING: line length of 85 exceeds 80 columns #235: FILE: tools/lib/bpf/libbpf.c:12405: + err = libbpf_ensure_mem((void **) ids, &cap, sizeof(**ids), cnt + 1); CHECK: No space is necessary after a cast #235: FILE: tools/lib/bpf/libbpf.c:12405: + err = libbpf_ensure_mem((void **) ids, &cap, sizeof(**ids), cnt + 1); WARNING: line length of 93 exceeds 80 columns #246: FILE: tools/lib/bpf/libbpf.c:12416: +static int collect_func_ids_by_glob(struct bpf_object *obj, const char *pattern, __u32 **ids) WARNING: line length of 82 exceeds 80 columns #256: FILE: tools/lib/bpf/libbpf.c:12426: + /* In case we have module specified, we will find its btf and use that. */ WARNING: line length of 86 exceeds 80 columns #291: FILE: tools/lib/bpf/libbpf.c:12461: +bpf_program__attach_tracing_multi(const struct bpf_program *prog, const char *pattern, WARNING: line length of 82 exceeds 80 columns #332: FILE: tools/lib/bpf/libbpf.c:12502: + link_fd = bpf_link_create(prog_fd, 0, prog->expected_attach_type, &lopts); WARNING: line length of 86 exceeds 80 columns #335: FILE: tools/lib/bpf/libbpf.c:12505: + pr_warn("prog '%s': failed to attach: %s\n", prog->name, errstr(err)); WARNING: line length of 100 exceeds 80 columns #348: FILE: tools/lib/bpf/libbpf.c:12518: +static int attach_tracing_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) ERROR: space prohibited before that ':' (ctx:WxV) #417: FILE: tools/lib/bpf/libbpf.h:710: + size_t :0; ^ WARNING: line length of 86 exceeds 80 columns #423: FILE: tools/lib/bpf/libbpf.h:716: +bpf_program__attach_tracing_multi(const struct bpf_program *prog, const char *pattern, total: 1 errors, 17 warnings, 1 checks, 367 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 ed99d0b22a13 ("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.