iovisor / iovisor/bcc

When using bcc to trace, it displays function name as unknown.

Open
#3,239 6 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

Hi,
When I use `trace` to trace systemd, it display function name as unknown.

```
[root@node-1 tools]# ./trace -UK "do_rmdir" -p 1
PID TID COMM FUNC

1 1 systemd do_rmdir
do_rmdir+0x0 [kernel]
el0_svc_handler+0xa0 [kernel]
el0_svc+0x8 [kernel]
__rmdir+0x14 [libc-2.17.so]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
[unknown] [systemd]
__libc_start_main+0xf0 [libc-2.17.so]
[unknown] [systemd]
[unknown]
```
Did I miss something ?
How can I get the correct function name, Thanks.

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.