linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DSO_BINARY_TYPE__SYSTEM_PATH_DSO
@ 2023-05-19 17:48 Rajasekhar Pulluru
  2023-05-19 17:57 ` DSO_BINARY_TYPE__SYSTEM_PATH_DSO Ian Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: Rajasekhar Pulluru @ 2023-05-19 17:48 UTC (permalink / raw)
  To: linux-perf-users

Hi Team,
Could someone help me shed some light on this macro
DSO_BINARY_TYPE__SYSTEM_PATH_DSO ?

Case-1: I am trying to run perf top -p `pidof <app>` on ubuntu host
(based on ubuntu:jammy, outside the container) where the <app> runs
inside a container that's based on ubuntu bionic, and I don't see any
of <app> symbols (only hex-address and no function names) in perf top
output.

Case-2: When I try to run perf top -p `pidof <app>` on ubuntu host
(based on ubuntu:bionic, outside the container) where the <app> runs
inside a container that's also based on ubuntu bionic, and I can see
<app> symbols (function names) in perf top output.

On debugging both the cases, I find that, case-2 is able to display
symbol when dso__load of </opt/bin/<app> is successful for the type
DSO_BINARY_TYPE__SYSTEM_PATH_DSO, where-as the same fails for case-1
(is_regular_file check fails), and perf top reports "Failed to open
/opt/bin/<app>, continuing without symbols".

In both the cases, the file /opt/bin/<app> is not available on the
host, and its only available inside the container.
What could be causing the above failure?

Appreciate any help/inputs.

Thanks & Regards,
Rajasekhar

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-22 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-19 17:48 DSO_BINARY_TYPE__SYSTEM_PATH_DSO Rajasekhar Pulluru
2023-05-19 17:57 ` DSO_BINARY_TYPE__SYSTEM_PATH_DSO Ian Rogers
2023-05-22 17:50   ` DSO_BINARY_TYPE__SYSTEM_PATH_DSO Rajasekhar Pulluru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).