* babeltrace convert call_site addr to func/offset
@ 2020-06-28 4:05 changcheng.liu--- via lttng-dev
2020-06-28 4:05 ` [lttng-dev] " changcheng.liu--- via lttng-dev
0 siblings, 1 reply; 2+ messages in thread
From: changcheng.liu--- via lttng-dev @ 2020-06-28 4:05 UTC (permalink / raw)
To: lttng-dev; +Cc: changcheng.liu
Hi all,
I checked lttng-ust-cry-profile source code:
https://github.com/lttng/lttng-ust/blob/master/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
It traced the runtime virtual-address(VA) of the
1) called function address
2) caller address
The value of VA is different from the linked address.
Due to ASLR, the VA could be different when running the program every
time.
The babeltrace could covert the "ip" in the traced context into
func/offset. However, there's no context to trace the call_site and
babeltrace also support convert the "call_site" into func/offset.
Does lttng community has plan to supply the function to support
"call_site" context and make babeltrace could convert the "call_site"
into func/offset format?
B.R.
Changcheng
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-29 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 4:05 babeltrace convert call_site addr to func/offset changcheng.liu--- via lttng-dev
2020-06-28 4:05 ` [lttng-dev] " changcheng.liu--- via lttng-dev
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).