You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to generate offcpu flamegraphs using offcputime in a container, and I am interested in data about another container. These two containers share process namespace. I have mounted kernel sources and debug symbols into the container with BCC and but obviously the filesystem differs on target and BCC container.
With perf (for on-cpu flamegraphs) I've been able to mount a copy of the other container image to another directory and point perf there using --symfs - I've seen some code in BCC allowing the same but can't find how to use it from the tools like offcputime. Thanks for hints.
The text was updated successfully, but these errors were encountered:
I ran some perf test in k8s environment, I ran a process with gcc flag fno-omit-frame-pointer compiled in container, I am able to run perf in host to record the process like perf record -p <pid of process>, then perf report to get the process symbols displayed, but if i ran perf top -p pidof process`, perf is unable to resolve the process symbol running in container, just my observation
I am trying to generate offcpu flamegraphs using
offcputime
in a container, and I am interested in data about another container. These two containers share process namespace. I have mounted kernel sources and debug symbols into the container with BCC and but obviously the filesystem differs on target and BCC container.With
perf
(for on-cpu flamegraphs) I've been able to mount a copy of the other container image to another directory and pointperf
there using--symfs
- I've seen some code in BCC allowing the same but can't find how to use it from the tools likeoffcputime
. Thanks for hints.The text was updated successfully, but these errors were encountered: