Bug 2127642 - bcc-tool runqlat fails
Summary: bcc-tool runqlat fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bcc
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerome Marchand
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-17 18:06 UTC by davestux
Modified: 2023-04-04 09:43 UTC (History)
6 users (show)

Fixed In Version: 0.24.0-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-04 09:43:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description davestux 2022-09-17 18:06:18 UTC
Description of problem:
runqlat fail to compile

Version-Release number of selected component (if applicable):
bcc-tools-0.22.0-3.fc36.x86_64

How reproducible:
Always fail

Steps to Reproduce:
1. run  sudo /usr/share/bcc/tools/runqlat 10 1
2.
3.

Actual results:
The following error returned:
/virtual/main.c:54:15: error: no member named 'state' in 'struct task_struct'
    if (prev->state == TASK_RUNNING) {
        ~~~~  ^
1 error generated.
Traceback (most recent call last):
  File "/usr/share/bcc/tools/runqlat", line 251, in <module>
    b = BPF(text=bpf_text)
  File "/usr/lib/python3.10/site-packages/bcc/__init__.py", line 480, in __init__


Expected results:
Queue latency tracing output

Additional info:


Note You need to log in before you can comment on or make changes to this bug.