Problem when tracing the process inside the container.
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
When tracing the function in the containerized app with ```funclatency.py``` (locally compiled bcc recently), we find that userspace function/libc can indeed be hooked but not triggered for calculating the latency. But the flamegraph indeed see a huge amount of the related function call.
This phenomenon does not appear on the host environment, so I was wondering is there anything wrong with the containerization?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with funclatency.py and reproduce the userspace-function tracing comparison in the containerized app and on the host. Check why hooked libc functions are not contributing to latency while the flamegraph shows calls; done means the discrepancy is explained and the container behavior is corrected or documented with a verified test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux, python
- Domain
- devtools, observability, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100