Re: [lttng-dev] LTTng on Docker

2017-09-20 Thread Jeffrey Chen
Are you able to repro this issue at your side? Thanks. From: jeremie.galarn...@gmail.com on behalf of Jérémie Galarneau Sent: Wednesday, April 12, 2017 10:34 AM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 11

Re: [lttng-dev] LTTng on Docker

2017-04-12 Thread Jeffrey Chen
failure? Thanks. From: jeremie.galarn...@gmail.com on behalf of Jérémie Galarneau Sent: Monday, April 10, 2017 12:26 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 10 April 2017 at 14:06, Jeffrey Chen mailto:cp

Re: [lttng-dev] LTTng on Docker

2017-04-11 Thread Jeffrey Chen
I just tried it a few more times. It is the --subbuf-size that's causing the issue. The --tracefile-sze is fine. Thanks. From: jeremie.galarn...@gmail.com on behalf of Jérémie Galarneau Sent: Monday, April 10, 2017 12:26 PM To: Jeffrey Chen Cc: lttn

Re: [lttng-dev] LTTng on Docker

2017-04-11 Thread Jeffrey Chen
mie.galarn...@gmail.com on behalf of Jérémie Galarneau Sent: Monday, April 10, 2017 12:26 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 10 April 2017 at 14:06, Jeffrey Chen mailto:cp...@live.com>> wrote: I have attached the logs from the lttng

Re: [lttng-dev] LTTng on Docker

2017-04-10 Thread Jeffrey Chen
___ From: jeremie.galarn...@gmail.com on behalf of Jérémie Galarneau Sent: Sunday, April 9, 2017 2:06 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 7 April 2017 at 18:35, Jeffrey Chen wrote: > Hi: > > > I am trying to have LTTng UST t

Re: [lttng-dev] LTTng on Docker

2017-04-10 Thread Jeffrey Chen
, April 9, 2017 2:06 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 7 April 2017 at 18:35, Jeffrey Chen wrote: > Hi: > > > I am trying to have LTTng UST tracing inside a docker container. I wasn't > able to get the UST tracing work

Re: [lttng-dev] LTTng on Docker

2017-04-10 Thread Jeffrey Chen
I just tried the latest version of lttng (2.9.3). It still has the same issue at my side. Thanks. From: jeremie.galarn...@gmail.com on behalf of Jérémie Galarneau Sent: Sunday, April 9, 2017 2:06 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re

[lttng-dev] LTTng on Docker

2017-04-08 Thread Jeffrey Chen
Hi: I am trying to have LTTng UST tracing inside a docker container. I wasn't able to get the UST tracing working. LTTng would not write any UST trace files in the directory, even though it printed it would. Has it been tested before? Is there any known problem? $ lttng enable-channel --sess

Re: [lttng-dev] LTTng memory map

2016-09-28 Thread Jeffrey Chen
From: lttng-dev on behalf of Jeffrey Chen Sent: Tuesday, September 27, 2016 11:20 AM To: lttng-dev Subject: [lttng-dev] LTTng memory map Hi LTTng: Our service has been running overnight with LTTng enabled to do some memory consumption testing. We noticed the linux pmap output would have se

[lttng-dev] LTTng memory map

2016-09-27 Thread Jeffrey Chen
Hi LTTng: Our service has been running overnight with LTTng enabled to do some memory consumption testing. We noticed the linux pmap output would have several memory map used by LTTng, and are marked as deleted. Do you know what are them? Why are they left in the system and marked as deleted?

Re: [lttng-dev] segfault when exiting process with background thread

2016-09-22 Thread Jeffrey Chen
Sent: Wednesday, September 21, 2016 2:05 PM To: Jeffrey Chen Cc: Jeffrey Chen; lttng-dev Subject: Re: segfault when exiting process with background thread I don't see anything relevant that changed since commit: commit 664ccf245fcb343e1ea10e145bab3749423e9d0f Author: Mathieu Desnoyers

Re: [lttng-dev] segfault when exiting process with background thread

2016-09-21 Thread Jeffrey Chen
To: Jeffrey Chen Cc: lttng-dev Subject: Re: [lttng-dev] segfault when exiting process with background thread Commit merged into master, thanks for your feedback! Mathieu - On Mar 15, 2016, at 2:48 PM, Jeffrey Chen wrote: Hi Mathieu: Will this fix be checked-in? Thanks

[lttng-dev] Duplicate traces in multiple sessions

2016-06-20 Thread Jeffrey Chen
Hi LTTng community: We are using LTTng to collect traces from our non-stopping service (our service is running 24/7, highly available). We collect traces by rotate the trace in an interval. We do this by creating new session, stop the old session, and process the old traces, every 10 minutes.

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-15 Thread Jeffrey Chen
Hi Mathieu: Will this fix be checked-in? Thanks. From: Mathieu Desnoyers Sent: Thursday, March 10, 2016 3:27 PM To: Jeffrey Chen Cc: Jonathan Rajotte Julien; lttng-dev Subject: Re: segfault when exiting process with background thread - On Mar 10, 2016

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-10 Thread Jeffrey Chen
et cleared the memory. This fix is okay with us, but I am not certain if it would break other component, since I do not understand LTTng enough to tell. Thanks. From: Mathieu Desnoyers Sent: Thursday, March 10, 2016 10:52 AM To: Jeffrey Chen Cc: Jonathan Rajo

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-10 Thread Jeffrey Chen
)? Were you able to reproduce the issue on master (git) ? What are the exact order of command to reproduce the problem ? Thanks On 2016-03-08 06:43 PM, Jeffrey Chen wrote: Hi LTTng community: We are using LTTng for our production environment. We have been noticing segfault problem when our

[lttng-dev] segfault when exiting process with background thread

2016-03-08 Thread Jeffrey Chen
Hi LTTng community: We are using LTTng for our production environment. We have been noticing segfault problem when our process exit. We think the problem is due to the background thread continue to write traces, while LTTng cleanup its memory. We do not know how to fix this issue without chang

Re: [lttng-dev] Segfault during process exit

2016-03-02 Thread Jeffrey Chen
Thanks! I will try to get a sample executable. But, just from the theory point of view, this issue is possible, right? From: Jonathan Rajotte Julien Sent: Wednesday, March 2, 2016 12:35 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev

[lttng-dev] Segfault during process exit

2016-03-02 Thread Jeffrey Chen
Hi: Our system process will spawn several background threads to do tasks. During the process exit, there is no guarantee that these background threads are finished. I have noticed several times that the execution would segfault during exiting. The stacktrace is showing that the segfault happen

[lttng-dev] How to use the log rotation correctly?

2016-03-01 Thread Jeffrey Chen
Hi LTTng community: LTTng supports trace rotation by having flags "--tracefile-size", "--tracefile-count". What is the correct use case on using the rotation files? What we want to do is, without stopping the session, and collect the completed traces (reached file max size), and output the tr

Re: [lttng-dev] LTTng buffer mode

2016-02-19 Thread Jeffrey Chen
Thanks. If we make changes to LTTng to add this feature, would it violate the LTTng design principle in any way? Thanks. From: Philippe Proulx Sent: Tuesday, February 16, 2016 5:02 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng

[lttng-dev] LTTng buffer mode

2016-02-16 Thread Jeffrey Chen
Hi LTTng community: I have a question about LTTng buffer mode. According to documentation, LTTng supports 2 buffer modes, per-pid, and per-uid. Is there any mode to have a global buffer that does not have separate buffers? The reason I asked is because, LTTng writes different buffer traces to

Re: [lttng-dev] LTTng trace files organize

2015-12-15 Thread Jeffrey Chen
han.rajotte-jul...@efficios.com > Date: Tue, 15 Dec 2015 14:47:47 -0500 > Subject: Re: [lttng-dev] LTTng trace files organize > > Hey Jeffrey > > On 2015-12-15 02:15 PM, Jeffrey Chen wrote: > > Hi: > > > > I have a question on how LTTng organize trace files.

[lttng-dev] LTTng trace files organize

2015-12-15 Thread Jeffrey Chen
Hi: I have a question on how LTTng organize trace files. I noticed by default for userspace tracing, LTTng writes a trace file per CPU core. So, I would get something like channel0_0, channel0_1, channel0_2, channel0_3, for the case of 4 CPU cores. Is there a way to config LTTng only writes to

[lttng-dev] LTTng trace files organize

2015-12-15 Thread Jeffrey Chen
Hi: I have a question on how LTTng organize trace files. I noticed by default for userspace tracing, LTTng writes a trace file per CPU core. So, I would get something like channel0_0, channel0_1, channel0_2, channel0_3, for the case of 4 CPU cores. Is there a way to config LTTng only writes to

[lttng-dev] LTTng hourly/weekly/monthly tracing

2015-12-10 Thread Jeffrey Chen
Hi: I am using LTTng for tracing user-space application. Does LTTng support hourly/weekly/monthly rollover tracing? Some of the tracing libraries like log4j supports this, it will separate traces into different files for each hour/week/month depending on your setup. You could start to read the

[lttng-dev] Runtime declare tracepoint events

2015-07-31 Thread Jeffrey Chen
Hi: This is a requirement for us, we do not know the events during compile time. I am wondering is it easy to do to register tracepoint events during runtime. Has this been done before? Is there any document about it? Thanks. _

[lttng-dev] LTTng c++ loglevel not being set

2015-06-24 Thread Jeffrey Chen
I noticed a macro issue with LTTng under C++. The TRACEPOINT_LOGLEVEL would be ignored. Here are my steps to repro the issue. My .tp file has the TRACEPOINT_LOGLEVEL macro set. 1. I generated the hello-tp.c file from the hello-tp.tp file using the lttng-gen-tp tool. 2. I renamed the generated .

Re: [lttng-dev] LTTng event loglevel

2015-06-22 Thread Jeffrey Chen
ything wrong? Thanks. > Date: Mon, 22 Jun 2015 17:20:35 -0400 > From: alexmon...@voxpopuli.im > To: cp...@hotmail.com > CC: lttng-dev@lists.lttng.org > Subject: Re: [lttng-dev] LTTng event loglevel > > Hi, > > On 2015-06-22 05:06 PM, Jeffrey Chen wrote: > > Hi: &

[lttng-dev] LTTng event loglevel

2015-06-22 Thread Jeffrey Chen
Hi: I am reading the LTTng and I am confused about the loglevel in the document. The document talked about it could assign a loglevel to each event. (http://lttng.org/docs/#doc-assigning-log-levels) But, later in the document, it says all events from LTTng are traced as loglevel TRACE_DEBUG_FUN

[lttng-dev] String format based events

2015-06-18 Thread Jeffrey Chen
I have a question while reading the lttng documentation. Could anyone answer me? Thanks a lot. It looks like lttng events are all key-value pairs. Like { my_val1 = 10, my_val2 = "OK" }. Does lttng supports regular string format based events, like Windows ETW. I want a human readable sentence

[lttng-dev] String format based events

2015-06-17 Thread Jeffrey Chen
I have a question while reading the lttng documentation. Could anyone answer me? Thanks a lot. It looks like lttng events are all key-value pairs. Like { my_val1 = 10, my_val2 = "OK" }. Does lttng supports regular string format based events, like Windows ETW. I want a human readable sentences i