iovisor / iovisor/bcc

Rust symbol demangling is not supported

Open
#5,249 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

There is no way to see the names of Rust symbols. The same name `[unknown]` appears every time for every function in the stack trace. For example, the stack after running `offcputime` looks like this:
```
try-linux-futex;[unknown];[unknown];[unknown];[unknown];[unknown];[unknown];[unknown];[unknown];[unknown];-;entry_SYSCALL_64_after_hwframe;do_syscall_64;__x64_sys_clock_nanosleep;common_nsleep;hrtimer_nanosleep;do_nanosleep;schedule;__schedule;finish_task_switch.isra.0 5000186
```

BTW, in `bpftrace` project there is the [same](https://github.com/bpftrace/bpftrace/issues/3532) problem.
As for `perf`, it handles Rust symbols' names correctly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.