Skip to contentSkip to conversation

convert call_site to func/offset

DISCUSSION Liu, Changcheng via lttng-dev 1 participant 3 messages Jul 1, 2020

lore
Share & tools
lore
#0 lore raw

Hi all,
I checked __cyg_profile_func_enter implementation. The caller address is recorded into call_site field.

Does anyone know how to let babeltrace show the call_site into "func/offset" format instead of the running virtual address?

B.R.
Changcheng

#1 lore raw

Hi Changcheng,

This is not currently supported by Babeltrace. It could probably be done the same way we do it with the "ip" and "vpid" contexts in the debug-info component class but it's not done yet.

Thanks,
Francis

Quoted 14 lines · Changcheng via lttng-dev

Hi all,
I checked __cyg_profile_func_enter implementation. The caller address is recorded into call_site field.

Does anyone know how to let babeltrace show the call_site into "func/offset" format instead of the running virtual address?

B.R.
Changcheng
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Francis Deslauriers
Computer Engineer
EfficiOS inc.

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#2 lore raw
Quoted 6 lines · Francis Deslauriers

Hi Changcheng,
This is not currently supported by Babeltrace. It could probably be done the same way we do it with the "ip" and "vpid" contexts in the debug-info component class but it's not done yet. Thanks,
Francis

@Francis: Thanks for your info.
Do we have feature road map to be checked?

Quoted 22 lines

Le mer. 1 juill. 2020, à 11 h 58, Liu, Changcheng via lttng-dev <[1][email protected]> a écrit :

Hi all,
I checked __cyg_profile_func_enter implementation. The caller address is recorded into call_site field. Does anyone know how to let babeltrace show the call_site into "func/offset" format instead of the running virtual address?
B.R.
Changcheng
_______________________________________________
lttng-dev mailing list
[2][email protected] [3]https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

   --

   Francis Deslauriers
   Computer Engineer
   EfficiOS inc.
Quoted 5 lines

References

1. mailto:[email protected]
2. mailto:[email protected]
3. https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev