Hi,
>Based on the code found in liblttng-ust/lttng-context-procname.c [1] of
>lttng-ust,
>the procname is cached on the first hit and never reseted even after
>fork. The
>following comment indicate that an exec after fork will "clear" the
>cache. The
>comment also hint as to why we see identical v
Hi,
On Tue, Apr 17, 2018 at 11:44:36AM +, negoita catalin via lttng-dev wrote:
> Hello,
>
> Using the following test app, it can be seen that if tracepoint is used
> before fork(), procname value is wrong in babeltrace output live session.
>
> Test application:
Please provide a link to the
Hello,
Using the following test app, it can be seen that if tracepoint is used before
fork(), procname value is wrong in babeltrace output live session.
Test application:
...
int main(int argc, char *argv[])
{
pid_t pid1;
//tracepoint(hello_world, my_first_tracepoint, pid1, "Before fork Pid: ")