Re: [lttng-dev] Cost of enabling context field procname

2018-12-13 Thread Jonas Andersson L
: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] Cost of enabling context field procname Hi Jonas, Good question. Let's take a look at the source code. We should find what we are looking for in liblttng-ust/lttng-context-procname.c [1]. [1] https://github.com/lttng/lttng-ust/blob/m

Re: [lttng-dev] Cost of enabling context field procname

2018-12-05 Thread Jonathan Rajotte-Julien
Hi Jonas, Good question. Let's take a look at the source code. We should find what we are looking for in liblttng-ust/lttng-context-procname.c [1]. [1] https://github.com/lttng/lttng-ust/blob/master/liblttng-ust/lttng-context-procname.c The comment at the top hint that we do cache the result

Re: [lttng-dev] Cost of enabling context field procname

2018-12-05 Thread Mathieu Desnoyers
- On Dec 5, 2018, at 7:21 AM, Jonas Andersson L wrote: > Hi > I’m interested in information regarding the cost of enabling procname context > field. Is this field cached and read only at initialization or is the thread > name fetched at each trace point? Thanks! It is cached. Thanks,