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

2019-04-26 Thread Shehab Elsayed
e information, check this link: http://blog.fesnel.com/blog/2009/08/25/preloading-with-multiple-symbol-versions/ I hope this helps. On Thu, Jul 5, 2018 at 5:36 PM Shehab Elsayed wrote: > Any suggestions where I should investigate to fix this bug? Also, please > let me know whe

Re: [lttng-dev] Processing large trace files

2018-07-12 Thread Shehab Elsayed
On Tue, Jul 10, 2018 at 6:51 PM, Philippe Proulx wrote: > On Tue, Jul 10, 2018 at 11:33 AM Shehab Elsayed > wrote: > > > > I haven't tried the C API yet. > > > > A smaller trace of about 2.7GB took +5 hrs before I had to kill the > process. > > Wow. The P

Re: [lttng-dev] Processing large trace files

2018-07-10 Thread Shehab Elsayed
wrote: > Hi Shehab, > > On Mon, Jul 09, 2018 at 06:48:05PM -0400, Shehab Elsayed wrote: > > Hello All, > > > > I was wondering if anyone had any suggestions on how to speedup trace > > processing. Right now I am using babeltrace in python to read the traces > >

[lttng-dev] Processing large trace files

2018-07-09 Thread Shehab Elsayed
Hello All, I was wondering if anyone had any suggestions on how to speedup trace processing. Right now I am using babeltrace in python to read the traces and process them. Some of the traces I am dealing with reach up to 10GB. I read the trace, extract the info I need and write them to a csv

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

2018-07-05 Thread Shehab Elsayed
...@gmail.com <https://webmail.rice.edu/imp/message.php?mailbox=INBOX=11#> On Tue, May 29, 2018 at 10:36 AM, Shehab Elsayed wrote: > I was wondering if you had a chance to look over this issue. Thanks! > > Shehab Y. Elsayed, MSc. > PhD Student > The Edwards S. Rogers Sr. Dept. of El

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

2018-05-03 Thread Shehab Elsayed
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 cr

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-22 Thread Shehab Elsayed
: shehaby...@gmail.com <https://webmail.rice.edu/imp/message.php?mailbox=INBOX=11#> On Wed, Mar 21, 2018 at 8:13 PM, Mathieu Desnoyers < mathieu.desnoy...@efficios.com> wrote: > - On Mar 21, 2018, at 8:01 PM, Shehab Elsayed <shehaby...@gmail.com> > wrote: > > Jus

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-21 Thread Shehab Elsayed
:55 PM, Shehab Elsayed <shehaby...@gmail.com> wrote: > Still running into same problem. I attached the debug trace I got after > applying the 2 patches. > > The benchmark I am running also includes some custom created tracepoints. > I am not adding the events being traced in the file

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-21 Thread Shehab Elsayed
athieu Desnoyers < mathieu.desnoy...@efficios.com> wrote: > - On Mar 21, 2018, at 1:55 PM, Shehab Elsayed <shehaby...@gmail.com> > wrote: > > I am so sorry for the late replies. > > I have tried the first patch you sent and the problem still happens > (althou

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-21 Thread Shehab Elsayed
u Desnoyers < > mathieu.desnoy...@efficios.com> wrote: > > - On Mar 20, 2018, at 12:07 PM, Mathieu Desnoyers < > mathieu.desnoy...@efficios.com> wrote: > > > - On Mar 19, 2018, at 4:21 PM, Shehab Elsayed <shehaby...@gmail.com> > wrote: > > I di

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-19 Thread Shehab Elsayed
S. Rogers Sr. Dept. of Electrical and Computer Engineering University of Toronto E-mail: shehaby...@gmail.com <https://webmail.rice.edu/imp/message.php?mailbox=INBOX=11#> On Mon, Mar 19, 2018 at 4:01 PM, Mathieu Desnoyers < mathieu.desnoy...@efficios.com> wrote: > > > - On Mar 19,

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-19 Thread Shehab Elsayed
e: > > - On Mar 19, 2018, at 2:26 PM, Shehab Elsayed <shehaby...@gmail.com> > wrote: > > Yes, I tried with only one of those contexts and I still ran into the same > problem. > > What is the setting returned by > > cat /proc/sys/kernel/perf_event_paranoid >

Re: [lttng-dev] Double free or corruption error (fasttop)

2018-03-19 Thread Shehab Elsayed
php?mailbox=INBOX=11#> On Mon, Mar 19, 2018 at 12:21 PM, Mathieu Desnoyers < mathieu.desnoy...@efficios.com> wrote: > > > - On Mar 16, 2018, at 5:37 PM, Shehab Elsayed <shehaby...@gmail.com> > wrote: > > Hello All, > > I am trying to instrument a pthr

[lttng-dev] Double free or corruption error (fasttop)

2018-03-16 Thread Shehab Elsayed
Hello All, I am trying to instrument a pthread application using the provided pthread wrapper, but I sometimes run into a "Double free or corruption error ( fasttop)" error. Here is a description of what I have tried and noticed: 1- The problem isn't consistent. It sometimes happen and sometimes

Re: [lttng-dev] Babeltrace with python bindings unable to read ust trace

2018-03-05 Thread Shehab Elsayed
of Toronto E-mail: shehaby...@gmail.com <https://webmail.rice.edu/imp/message.php?mailbox=INBOX=11#> On Mon, Mar 5, 2018 at 9:07 PM, Shehab Elsayed <shehaby...@gmail.com> wrote: > Hello All, > > I am running into this problem where using babeltrace with python bindings >

[lttng-dev] Babeltrace with python bindings unable to read ust trace

2018-03-05 Thread Shehab Elsayed
Hello All, I am running into this problem where using babeltrace with python bindings is unable to read a ust trace even though the trace can be processed normally if I run babeltrace from the command line. I have tried the example given in the LTTng documentation for using babeltrace with

[lttng-dev] Problem saving session in custom LTTNG_HOME

2018-02-16 Thread Shehab Elsayed
it executes this line when there is no provided path char *home_dir = utils_get_user_home_dir Shouldn't it be calling utils_get_home_dir instead? When I do change the function, "lttng save" always ends up in an error of invalid pointer. Any idea why this might be happening? Thanks, Sheh

[lttng-dev] Problem saving session in custom LTTNG_HOME

2018-02-16 Thread Shehab Elsayed
it executes this line when there is no provided path char *home_dir = utils_get_user_home_dir Shouldn't it be calling utils_get_home_dir instead? When I do change the function, "lttng save" always ends up in an error of invalid pointer. Any idea why this might be happening? Thanks, Sheh