- 
                Notifications
    
You must be signed in to change notification settings  - Fork 600
 
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm trying to use bpftrace but it's not working properly.
Commands attempted:
bpftrace -e 'BEGIN { print("hello")}'
# error: <unknown>:0:0: in function BEGIN i64 (ptr): 0x564822871f20: i64 = GlobalAddress<ptr @__atomic_compare_exchange> 0 too many arguments
bpftrace -e 'kprobe:tcp_v4_rcv { printf("tcp packet received\n"); }'
# error: <unknown>:0:0: in function kprobe:tcp_v4_rcv i64 (ptr): 0x55a9b4fe14c0: i64 = GlobalAddress<ptr @__atomic_compare_exchange> 0 too many arguments
To Reproduce
Steps to reproduce the behavior:
# Install bpftrace:
tdnf -y install bpftrace
# Check version
bpftrace -V
# bpftrace v0.20.3
# Run bpftrace:
bpftrace -e 'BEGIN { print("hello")}'
# error: <unknown>:0:0: in function BEGIN i64 (ptr): 0x564822871f20: i64 = GlobalAddress<ptr @__atomic_compare_exchange> 0 too many argumentsExpected behavior
Command should run without errors.
Screenshots
If applicable, add screenshots or log outputs to help explain your problem.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working