Package: bpftrace
Version: 0.9.2-1+b2
Severity: normal

Dear Maintainer,

I'm trying simple oneliner with bpftrace given in the man pages. For example
following

  bpftrace -e 'tracepoint:syscalls:sys_enter_execve { join(args->argv); }'  

It fails with following error message

 Error creating map: 'join': Invalid argument
 Error creating printf map: Invalid argument
 Creation of the required BPF maps has failed.
 Make sure you have all the required permissions and are not confined (e.g. like
 snapcraft does). `dmesg` will likely have useful output for further 
troubleshooting

But dmesg does not have any relevant messages. Even running sample tools 
shipped with bpftrace
program like execsnoop.bt gives same above message. 

I'm unsure if this is package issue or some issue in my system. I'm using 
standard Debian unstable
with default Debian kernel. Please let me know if this is something wrong from 
myside.

Cheers,





-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64

Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bpftrace depends on:
ii  libbpfcc     0.11.0-1
ii  libc6        2.29-3
ii  libclang1-7  1:7.0.1-9+b1
ii  libgcc1      1:9.2.1-16
ii  libllvm7     1:7.0.1-9+b1

bpftrace recommends no packages.

bpftrace suggests no packages.

-- no debconf information

Reply via email to