Hi Christophe,
I've checked lots of examples about func_entry/exit. It seems all
the address are the linked address. However, my result shows that
they're the loaded running address.
Do you have some suggestions to check it further?
B.R.
Changcheng
On 22:22 Fri 26 Jun, Liu, Chang
On 10:19 Fri 26 Jun, Christophe Bédard wrote:
>Hi,
>On Tue, 23 Jun 2020 at 21:45, Liu, Changcheng
><[1]changcheng@intel.com> wrote:
>
> Do you know how to print the call site function_name/offset?
> For example:
> 11 getchar();
> 12
>
Hi,
On Tue, 23 Jun 2020 at 21:45, Liu, Changcheng
wrote:
> Do you know how to print the call site function_name/offset?
> For example:
> 11 getchar();
> 12
> 13 x = add3(x);
> Currently, it only shows call_site address instead of function name with
> o
On 12:52 Tue 23 Jun, Christophe Bédard wrote:
>Hi,
>
> Babeltrace is doing exactly what it should as far as I know.
>
>yes, but babeltrace can provide the information if:
>* ip and vpid contexts are enabled (for userspace), e.g.
>
>$ lttng add-context --userspace --type=ip -
Liu, Changcheng via lttng-dev <[4]lttng-dev@lists.lttng.org>
>Sent: Tuesday, June 23, 2020 10:37 AM
>To: [5]lttng-dev@lists.lttng.org <[6]lttng-dev@lists.lttng.org>
>Cc: [7]changcheng@intel.com <[8]changcheng@intel.com>
>Subject: [lttng-dev] get funct
g via lttng-dev
> *Sent:* Tuesday, June 23, 2020 10:37 AM
> *To:* lttng-dev@lists.lttng.org
> *Cc:* changcheng....@intel.com
> *Subject:* [lttng-dev] get function names with lttng-ust-cyg-profile
>
> Hi all,
>I'm trying to use lttng-ust-cyg-profile to trace program.
>Does
nformation.
Hope that helps.
Matthew
From: lttng-dev on behalf of Liu,
Changcheng via lttng-dev
Sent: Tuesday, June 23, 2020 10:37 AM
To: lttng-dev@lists.lttng.org
Cc: changcheng@intel.com
Subject: [lttng-dev] get function names with lttng-ust-cyg-profi
Hi all,
I'm trying to use lttng-ust-cyg-profile to trace program.
Does anyone know how to get function names and offset through
lttng-ust-cyg-profile?
In below example, the babeltrace could only get the function entry/exit
value.
1. Source program: instrument.c
1 #include