Skip to content

biolatency and tcpretrans BCC tools fail during melisai collect #19

@patsevanton

Description

@patsevanton

I’m running melisai collect with the quick profile and see failures from the embedded BCC/eBPF tools:

sudo melisai collect --profile quick -o report.json

full error

sudo melisai collect --profile quick -o report.json
[sudo] пароль для user: 
Попробуйте ещё раз.
[sudo] пароль для user: 
[2ms] Starting collection: profile=quick, duration=10s, tier1=6, tier2/3=4
[2ms] Phase 1: System baseline (Tier 1, no BPF tools running)...
[2ms]   [process_info] collecting...
[2ms]   [disk_stats] collecting...
[2ms]   [memory_info] collecting...
[2ms]   [system_info] collecting...
[3ms]   [cpu_utilization] collecting...
[3ms]   [network_stats] collecting...
[26ms]   [system_info] done (24ms)
[1.005s]   [cpu_utilization] done (1.002s)
[1.005s]   [memory_info] done (1.003s)
[1.005s]   [disk_stats] done (1.003s)
[1.072s]   [process_info] done (1.07s)
[1.14s]   [network_stats] done (1.137s)
[1.14s] Phase 2: BCC/eBPF tools (4 collectors)...
[1.14s]   [oomkill] collecting...
[1.14s]   [tcpretrans] collecting...
[1.14s]   [opensnoop] collecting...
[1.14s]   [biolatency] collecting...
2026/04/06 17:06:00 [executor] tcpretrans: stdout empty, stderr="usage: tcpretrans-bpfcc [-h] [-s] [-l] [-c] [-4 | -6]\ntcpretrans-bpfcc: error: unrecognized arguments: 10\n" -- tool may have been killed before flushing output
[1.263s]   [tcpretrans] done (123ms)
[15.777s]   [opensnoop] done (14.637s)
[16.246s]   [oomkill] done (15.106s)
2026/04/06 17:06:15 [executor] biolatency: stdout empty, stderr="In file included from /virtual/main.c:2:\nIn file included from include/uapi/linux/ptrace.h:183:\nIn file included from arch/x86/include/asm/ptrace.h:175:\nIn file included from arch/x86/include/asm/paravirt_types.h:12:\nIn file included from arch/x86/include/asm/nospec-branch.h:15:\narch/x86/include/asm/current.h:47:10: warning: multiple identical address spaces specified for type [-Wduplicate-decl-specifier]\n   47 |                 return this_cpu_read_const(const_pcpu_hot.current_task);\n      |                        ^\narch/x86/include/asm/percpu.h:577:36: note: expanded from macro 'this_cpu_read_const'\n  577 | #define this_cpu_read_const(pcp)                        __raw_cpu_read_const(pcp)\n      |                                                         ^\narch/x86/include/asm/percpu.h:163:35: note: expanded from macro '__raw_cpu_read_const'\n  163 | #define __raw_cpu_read_const(pcp)       __raw_cpu_read(, , pcp)\n      |                                         ^\narch/x86/include/asm/percpu.h:155:30: note: expanded from macro '__raw_cpu_read'\n  155 |         *(qual __my_cpu_type(pcp) *)__my_cpu_ptr(&(pcp));               \\\n      |                                     ^\nnote: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\narch/x86/include/asm/percpu.h:94:40: note: expanded from macro '__my_cpu_type'\n   94 | #define __my_cpu_type(var)      typeof(var) __percpu_seg_override\n      |                                             ^\narch/x86/include/asm/percpu.h:45:32: note: expanded from macro '__percpu_seg_override'\n   45 | # define __percpu_seg_override  __seg_gs\n      |                                 ^\n<built-in>:358:33: note: expanded from macro '__seg_gs'\n  358 | #define __seg_gs __attribute__((address_space(256)))\n      |                                 ^\nIn file included from /virtual/main.c:2:\nIn file included from include/uapi/linux/ptrace.h:183:\nIn file included from arch/x86/include/asm/ptrace.h:175:\nIn file included from arch/x86/include/asm/paravirt_types.h:12:\nIn file included from arch/x86/include/asm/nospec-branch.h:15:\narch/x86/include/asm/current.h:47:10: warning: multiple identical address spaces specified for type [-Wduplicate-decl-specifier]\narch/x86/include/asm/percpu.h:577:36: note: expanded from macro 'this_cpu_read_const'\n  577 | #define this_cpu_read_const(pcp)                        __raw_cpu_read_const(pcp)\n      |                                                         ^\narch/x86/include/asm/percpu.h:163:35: note: expanded from macro '__raw_cpu_read_const'\n  163 | #define __raw_cpu_read_const(pcp)       __raw_cpu_read(, , pcp)\n      |                                         ^\narch/x86/include/asm/percpu.h:155:9: note: expanded from macro '__raw_cpu_read'\n  155 |         *(qual __my_cpu_type(pcp) *)__my_cpu_ptr(&(pcp));               \\\n      |                ^\narch/x86/include/asm/percpu.h:94:40: note: expanded from macro '__my_cpu_type'\n   94 | #define __my_cpu_type(var)      typeof(var) __percpu_seg_override\n      |                                             ^\narch/x86/include/asm/percpu.h:45:32: note: expanded from macro '__percpu_seg_override'\n   45 | # define __percpu_seg_override  __seg_gs\n      |                                 ^\n<built-in>:358:33: note: expanded from macro '__seg_gs'\n  358 | #define __seg_gs __attribute__((address_space(256)))\n      |                                 ^\nIn file included from /virtual/main.c:3:\nIn file included from include/linux/blk-mq.h:5:\nIn file included from include/linux/blkdev.h:9:\nIn file included from include/linux/blk_types.h:10:\nIn file included from include/linux/bvec.h:10:\nIn file included from include/linux/highmem.h:5:\nIn file included from include/linux/fs.h:6:\nIn file included from include/linux/wait_bit.h:8:\nIn file included from include/linux/wait.h:9:\nIn file included from include/linux/spinlock.h:60:\nIn file included from include/linux/thread_info.h:60:\nIn file included from arch/x86/include/asm/thread_info.h:59:\nIn file included from arch/x86/include/asm/cpufeature.h:5:\narch/x86/include/asm/processor.h:545:10: warning: multiple identical address spaces specified for type [-Wduplicate-decl-specifier]\n  545 |                 return this_cpu_read_const(const_pcpu_hot.top_of_stack);\n      |                        ^\narch/x86/include/asm/percpu.h:577:36: note: expanded from macro 'this_cpu_read_const'\n  577 | #define this_cpu_read_const(pcp)                        __raw_cpu_read_const(pcp)\n      |                                                         ^\narch/x86/include/asm/percpu.h:163:35: note: expanded from macro '__raw_cpu_read_const'\n  163 | #define __raw_cpu_read_const(pcp)       __raw_cpu_read(, , pcp)\n      |                                         ^\narch/x86/include/asm/percpu.h:155:30: note: expanded from macro '__raw_cpu_read'\n  155 |         *(qual __my_cpu_type(pcp) *)__my_cpu_ptr(&(pcp));               \\\n      |                                     ^\nnote: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)\narch/x86/include/asm/percpu.h:94:40: note: expanded from macro '__my_cpu_type'\n   94 | #define __my_cpu_type(var)      typeof(var) __percpu_seg_override\n      |                                             ^\narch/x86/include/asm/percpu.h:45:32: note: expanded from macro '__percpu_seg_override'\n   45 | # define __percpu_seg_override  __seg_gs\n      |                                 ^\n<built-in>:358:33: note: expanded from macro '__seg_gs'\n  358 | #define __seg_gs __attribute__((address_space(256)))\n      |                                 ^\nIn file included from /virtual/main.c:3:\nIn file included from include/linux/blk-mq.h:5:\nIn file included from include/linux/blkdev.h:9:\nIn file included from include/linux/blk_types.h:10:\nIn file included from include/linux/bvec.h:10:\nIn file included from include/linux/highmem.h:5:\nIn file included from include/linux/fs.h:6:\nIn file included from include/linux/wait_bit.h:8:\nIn file included from include/linux/wait.h:9:\nIn file included from include/linux/spinlock.h:60:\nIn file included from include/linux/thread_info.h:60:\nIn file included from arch/x86/include/asm/thread_info.h:59:\nIn file included from arch/x86/include/asm/cpufeature.h:5:\narch/x86/include/asm/processor.h:545:10: warning: multiple identical address spaces specified for type [-Wduplicate-decl-specifier]\narch/x86/include/asm/percpu.h:577:36: note: expanded from macro 'this_cpu_read_const'\n  577 | #define this_cpu_read_const(pcp)                        __raw_cpu_read_const(pcp)\n      |                                                         ^\narch/x86/include/asm/percpu.h:163:35: note: expanded from macro '__raw_cpu_read_const'\n  163 | #define __raw_cpu_read_const(pcp)       __raw_cpu_read(, , pcp)\n      |                                         ^\narch/x86/include/asm/percpu.h:155:9: note: expanded from macro '__raw_cpu_read'\n  155 |         *(qual __my_cpu_type(pcp) *)__my_cpu_ptr(&(pcp));               \\\n      |                ^\narch/x86/include/asm/percpu.h:94:40: note: expanded from macro '__my_cpu_type'\n   94 | #define __my_cpu_type(var)      typeof(var) __percpu_seg_override\n      |                                             ^\narch/x86/include/asm/percpu.h:45:32: note: expanded from macro '__percpu_seg_override'\n   45 | # define __percpu_seg_override  __seg_gs\n      |                                 ^\n<built-in>:358:33: note: expanded from macro '__seg_gs'\n  358 | #define __seg_gs __attribute__((address_space(256)))\n      |                                 ^\n4 warnings generated.\nTraceback (most recent call last):\n  File \"/usr/sbin/biolatency-bpfcc\", line 290, in <module>\n    elif BPF.get_kprobe_functions(b'blk_account_io_done'):\n         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/bcc/__init__.py\", line 704, in get_kprobe_functions\n    avail_filter = set([line.rstrip().split()[0] for line in avail_filter_f])\n                        ^^^^^^^^^^^^^\nKeyboardInterrupt\n" -- tool may have been killed before flushing output
[16.275s]   [biolatency] done (15.135s)
[16.276s] Collection complete. 6 categories, health=90/100, anomalies=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions