[lttng-dev] [babeltrace][PATCH] fs.c: initialize the other_entry variable

2020-03-11 Thread mingli.yu
From: Mingli Yu Initialize the pointer other_entry to fix the below error: | ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted': | ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this functi

Re: [lttng-dev] [babeltrace][PATCH] fs.c: initialize the other_entry variable

2020-03-11 Thread Mathieu Desnoyers
- On Mar 11, 2020, at 9:39 AM, mingli yu mingli...@windriver.com wrote: > From: Mingli Yu > > Initialize the pointer other_entry to fix the below error: >| ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function >| 'ds_index_insert_ds_index_entry_sorted': >| ../../../../../git/src/plugin

Re: [lttng-dev] [babeltrace][PATCH] fs.c: initialize the other_entry variable

2020-03-11 Thread Simon Marchi
On 2020-03-11 9:39 a.m., mingli...@windriver.com wrote: > From: Mingli Yu > > Initialize the pointer other_entry to fix the below error: > | ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function > 'ds_index_insert_ds_index_entry_sorted': > | ../../../../../git/src/plugins/ctf/fs-src/fs.c:7

[lttng-dev] [babeltrace][PATCH] fs.c: initialize the other_entry variable

2020-03-11 Thread mingli.yu
From: Mingli Yu Initialize the pointer other_entry to fix the below error: | ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted': | ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this functi

[lttng-dev] bt2 Python quick start/examples?

2020-03-11 Thread Rocky Dunlap via lttng-dev
I see that the bt2 Python documentation is not yet ready: https://babeltrace.org/docs/v2.0/python/bt2/ In lieu of that, where is the best place to find at least a few examples of using the bt2 Python API for basic trace processing tasks? Thanks, Rocky _

[lttng-dev] [babeltrace][PATCH v2] fs.c: initialize the other_entry variable

2020-03-11 Thread mingli.yu--- via lttng-dev
From: Mingli Yu Initialize the pointer other_entry to silence the gcc 9.2.0 compiler warnings: | ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted': | ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitia

Re: [lttng-dev] [babeltrace][PATCH] fs.c: initialize the other_entry variable

2020-03-11 Thread Yu, Mingli via lttng-dev
Hi Simon, The compiler: GCC 9.2.0 The error can occur when additionally add " -Og". Thanks, Mingli From: Simon Marchi [sim...@simark.ca] Sent: Wednesday, March 11, 2020 9:52 PM To: Yu, Mingli; lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] [babeltrace]