[lttng-dev] Tracepoints for pthreads conditional variables

2018-05-01 Thread Shehab Elsayed
Hi, I am trying to create wrappers for pthreads conditional variables functions (wait, signal and broadcast) to insert tracepoints. I followed the same approach done for the mutex functions already provided with lttng, however I am running into some problems. Mainly the applications seem to get st

Re: [lttng-dev] Tracepoints for pthreads conditional variables

2018-05-01 Thread Jonathan Rajotte-Julien
Hi Shehab, Please provide a link to a lttng-ust git tree or an actual patch (git format-patch). This will help any person who might be interested in helping you including myself. Cheers On Tue, May 01, 2018 at 09:31:52AM -0400, Shehab Elsayed wrote: > Hi, > > I am trying to create wrappers for

Re: [lttng-dev] [RFC babeltrace 1/2] fs-src: add argument for metadata src dir

2018-05-01 Thread Philippe Proulx
On Mon, Apr 30, 2018 at 6:36 PM, Philippe Proulx wrote: > On Mon, Apr 30, 2018 at 5:31 PM, Alexander Aring wrote: >> >> This patch adds an argument for the fs-src plugin to declare the >> directory to find the metadata file instead of placing it in every >> subdir of traces. >> >> If parameter as

Re: [lttng-dev] [RFC babeltrace 0/2] fs-src: add metadata-src parameter

2018-05-01 Thread Alexander Aring
Hi, On Mon, Apr 30, 2018 at 07:11:30PM -0400, Philippe Proulx wrote: > On Mon, Apr 30, 2018 at 5:31 PM, Alexander Aring wrote: > > Hi, > > > > my use-case is just... we have several application with the same metadata > > file. Currently I build a wrapper around babeltrace to run something like: >

Re: [lttng-dev] [RFC babeltrace 0/2] fs-src: add metadata-src parameter

2018-05-01 Thread Philippe Proulx
Try a few `babeltrace` commands and add the --run-args option. The output is the arguments that would be pass to the `babeltrace run` command. You'll find documentation for --key and --value in `babeltrace-run(1)`. Phil On Tue, May 1, 2018 at 10:51 AM, Alexander Aring wrote: > Hi, > > On Mon, Ap

Re: [lttng-dev] [RFC babeltrace 1/2] fs-src: add argument for metadata src dir

2018-05-01 Thread Alexander Aring
Hi, On Mon, Apr 30, 2018 at 06:36:08PM -0400, Philippe Proulx wrote: > On Mon, Apr 30, 2018 at 5:31 PM, Alexander Aring wrote: > > > > This patch adds an argument for the fs-src plugin to declare the > > directory to find the metadata file instead of placing it in every > > subdir of traces. > >

Re: [lttng-dev] [RFC babeltrace 1/2] fs-src: add argument for metadata src dir

2018-05-01 Thread Philippe Proulx
On Tue, May 1, 2018 at 11:12 AM, Alexander Aring wrote: > Hi, > > On Mon, Apr 30, 2018 at 06:36:08PM -0400, Philippe Proulx wrote: >> On Mon, Apr 30, 2018 at 5:31 PM, Alexander Aring wrote: >> > >> > This patch adds an argument for the fs-src plugin to declare the >> > directory to find the metad

Re: [lttng-dev] [RFC babeltrace 1/2] fs-src: add argument for metadata src dir

2018-05-01 Thread Alexander Aring
Hi, On Tue, May 01, 2018 at 11:22:18AM -0400, Philippe Proulx wrote: ... > > > > I also thought about: using barectf and generate a object file linked > > to my platform who has the metadata file inside and will be created to > > my stream file when barectf init's (if it's not already exists). > >

Re: [lttng-dev] [RFC babeltrace 1/2] fs-src: add argument for metadata src dir

2018-05-01 Thread Alexander Aring
On Tue, May 01, 2018 at 11:43:32AM -0400, Alexander Aring wrote: ... > > > > Normally, a trace has a unique UUID. If you cannot ensure this, I > > suggest that you remove the UUID field from the packet header. > > > > I see, according [0]: > > Trace UUID, used to ensure the event packet match t

[lttng-dev] [PATCH babeltrace] Add git version string

2018-05-01 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- .gitignore| 2 + cli/babeltrace-cfg-cli-args.c | 7 +++- include/Makefile.am | 74 ++- include/version.h | 28 + 4 files changed, 109 insertions(+), 2 deletions(-) create mo

Re: [lttng-dev] [PATCH lttng-modules 1/3] Fix: Add gfp_flags arg to mm_vmscan_kswapd_wake for 4.17

2018-05-01 Thread Mathieu Desnoyers
All 3 patches merged into master, 2.10, 2.9, thanks! Mathieu - On Apr 17, 2018, at 11:07 AM, Michael Jeanson mjean...@efficios.com wrote: > See upstream commit: > > commit 5ecd9d403ad081ed2de7b118c1e96124d4e0ba6c > Author: David Rientjes > Date: Thu Apr 5 16:25:16 2018 -0700 > >m