bpftrace tool scripts prints warning message on s390x system

Solution Verified - Updated -

Issue

  • The following bpftrace tool scripts are printing warning message (bitfiled bitwidth 72is not supporeted. Use bitwidth 64) on s390x system.
# /usr/share/bpftrace/tools/biosnoop.bt 
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 4 probes...

# /usr/share/bpftrace/tools/dcsnoop.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 4 probes...
Tracing dcache lookups... Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/mdflush.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 2 probes...
Tracing md flush events... Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/naptime.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 2 probes...
Tracing sleeps. Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/oomkill.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 2 probes...
Tracing oom_kill_process()... Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/runqlat.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 5 probes...
Tracing CPU scheduler... Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/runqlen.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 2 probes...
Sampling run queue length at 99 Hertz... Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/tcpaccept.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 2 probes...
Tracing TCP accepts. Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/tcpconnect.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 2 probes...
Tracing tcp connections. Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/tcpdrop.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 3 probes...
cannot attach kprobe, probe entry may not exist
ERROR: Error attaching probe: 'kprobe:tcp_drop'

# /usr/share/bpftrace/tools/tcplife.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 3 probes...

# /usr/share/bpftrace/tools/tcpretrans.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 3 probes...
Tracing tcp retransmits. Hit Ctrl-C to end.

# /usr/share/bpftrace/tools/tcpsynbl.bt
WARNING: bitfiled bitwidth 72is not supporeted. Use bitwidth 64
Attaching 4 probes...
Tracing SYN backlog size. Ctrl-C to end.

Environment

  • Red Hat Enterprise Linux 9
  • bpftrace
  • s390x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content