BCC tool 'runqslower' generates a warning during execution.
Issue
- BCC tool
runqslower
generates a warning during execution.
# /usr/share/bcc/tools/runqslower
/virtual/main.c:56:42: warning: passing 'volatile long *' to parameter of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
bpf_probe_read(&state, sizeof(long), &prev->state);
^~~~~~~~~~~~
1 warning generated.
Tracing run queue latency higher than 10000 us
TIME COMM PID LAT(us)
Environment
- Red Hat Enterprise Linux 8
- bcc-tools
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.