google / google/perfetto

Unable to get the function offset of sched_blocked_reason using Perfetto

Open
#996 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

Hello, when I use Pertetto to capture the trace, the caller of sched_blocked_reason is just a function name without offset. Like this:

![Image](https://github.com/user-attachments/assets/3fad0433-5c6f-4389-8965-26893fc38c57)

But it can be displayed normally when I grab ftrace alone. Do you know how to solve it?
```
echo 1 >/sys/kernel/tracing/events/sched/sched_blocked_reason/enable

echo 1 > /sys/kernel/tracing/tracing_on

cat /sys/kernel/tracing/trace
```

![Image](https://github.com/user-attachments/assets/e912632a-121b-44b2-8584-3e485adc4435)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.