[lttng-dev] [PATCH] Fix trace-collection.h: No such file or directory that build code with libbabeltrace

2012-08-23 Thread Hui Zhu
Hi, After I install the babeltrace and try to build a code, I got this: gcc -Wall -g 1.c -lbabeltrace -lbabeltrace-ctf In file included from 1.c:11:0: /usr/local/include/babeltrace/babeltrace.h:23:41: fatal error: babeltrace/trace-collection.h: No such file or directory compilation terminated.

Re: [lttng-dev] [babeltrace] About the type read and write

2012-08-24 Thread Hui Zhu
On Fri, Aug 24, 2012 at 10:15 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Hui Zhu (teawa...@gmail.com) wrote: Hi, I just tried to use libbabeltrace to read and write the CTF file. But I cannot find the api

[lttng-dev] [PATCH/babeltrace] Fix babeltrace-log crash

2012-09-07 Thread Hui Zhu
Hi, Got a crash with babeltrace-log. #0 0x7744504c in free () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x77ba6fc9 in munmap_align (mma=0x77ffe620) at ../../../babeltrace/include/babeltrace/mmap-align.h:78 #2 0x77ba82db in ctf_packet_seek (stream_pos=0x7fffde60,

Re: [lttng-dev] [PATCH/babeltrace] Fix babeltrace-log crash

2012-09-07 Thread Hui Zhu
Looks it cannot be init in ctf_init_pos. So move init to trace_text. Thanks, Hui On Fri, Sep 7, 2012 at 3:40 PM, Hui Zhu teawa...@gmail.com wrote: Hi, Got a crash with babeltrace-log. #0 0x7744504c in free () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x77ba6fc9

[lttng-dev] [PATCH/babeltrace] Fix babeltrace-log get big line when the input file last line don't have enter

2012-09-11 Thread Hui Zhu
Hi, I got: [Error] Line too large for packet size (32kB) (discarded) When I input a file to babeltrace-log. That is because the last line of the input file doesn't have enter and babeltrace-log have bug with the line that doesn't have enter. So I post a patch for it. Thanks, Hui ---

[lttng-dev] Request change name of function lookup_enum in libbabeltrace to make GDB use this lib

2012-12-05 Thread Hui Zhu
Hi, I am working on add CTF support to GDB. You can see my patch review threads in: http://sourceware.org/ml/gdb-patches/2012-11/msg00552.html http://sourceware.org/ml/gdb-patches/2012-11/msg00554.html http://sourceware.org/ml/gdb-patches/2012-11/msg00553.html

Re: [lttng-dev] Request change name of function lookup_enum in libbabeltrace to make GDB use this lib

2012-12-05 Thread Hui Zhu
On Wed, Dec 5, 2012 at 8:08 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: * Hui Zhu (teawa...@gmail.com) wrote: Hi, I am working on add CTF support to GDB. You can see my patch review threads in: http://sourceware.org/ml/gdb-patches/2012-11/msg00552.html http

Re: [lttng-dev] Request change name of function lookup_enum in libbabeltrace to make GDB use this lib

2012-12-10 Thread Hui Zhu
On Thu, Dec 6, 2012 at 11:57 PM, Pedro Alves pal...@redhat.com wrote: On 12/05/2012 12:08 PM, Mathieu Desnoyers wrote: * Hui Zhu (teawa...@gmail.com) wrote: Hi, I am working on add CTF support to GDB. You can see my patch review threads in: http://sourceware.org/ml/gdb-patches/2012-11

Re: [lttng-dev] Request change name of function lookup_enum in libbabeltrace to make GDB use this lib

2012-12-11 Thread Hui Zhu
On Mon, Dec 10, 2012 at 10:05 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: * Hui Zhu (teawa...@gmail.com) wrote: On Thu, Dec 6, 2012 at 11:57 PM, Pedro Alves pal...@redhat.com wrote: On 12/05/2012 12:08 PM, Mathieu Desnoyers wrote: * Hui Zhu (teawa...@gmail.com) wrote: Hi

[lttng-dev] Question about use libbabeltrace

2012-12-12 Thread Hui Zhu
Hi guys, Maybe you had known that I am working on add CTF support to GDB that use libbabeltrace from my prev mail. I use libbabeltrace in this patch http://sourceware.org/ml/gdb-patches/2012-11/msg00717.html What I check if current machine have libbabeltrace in following way: +if test

Re: [lttng-dev] Question about use libbabeltrace

2012-12-13 Thread Hui Zhu
On Thu, Dec 13, 2012 at 7:35 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: * Hui Zhu (teawa...@gmail.com) wrote: Hi guys, Maybe you had known that I am working on add CTF support to GDB that use libbabeltrace from my prev mail. I use libbabeltrace in this patch http

Re: [lttng-dev] Question about use libbabeltrace

2012-12-18 Thread Hui Zhu
On Fri, Dec 14, 2012 at 2:13 PM, Yannick Brosseau yannick.bross...@gmail.com wrote: On 2012-12-13 06:35, Mathieu Desnoyers wrote: * Hui Zhu (teawa...@gmail.com) wrote: Hi guys, Maybe you had known that I am working on add CTF support to GDB that use libbabeltrace from my prev mail. I use

Re: [lttng-dev] Request change name of function lookup_enum in libbabeltrace to make GDB use this lib

2012-12-20 Thread Hui Zhu
On Thu, Dec 20, 2012 at 10:16 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: * Hui Zhu (teawa...@gmail.com) wrote: On Tue, Dec 11, 2012 at 11:18 PM, Hui Zhu teawa...@gmail.com wrote: On Mon, Dec 10, 2012 at 10:05 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote

Re: [lttng-dev] [BABELTRACE PATCH] Namespace the lookup_enum function

2013-01-25 Thread Hui Zhu
Hi Julien and Mathieu, I just tried it with GDB ctf patches. It works very good. Thanks for your help. Best, Hui On Fri, Jan 25, 2013 at 1:43 AM, Julien Desfossez jdesfos...@efficios.com wrote: For info, this patch was merged in Babeltrace master, see commit

[lttng-dev] Call for Topics and Sponsors -- Workshop on Open Source Development Tools 2014 (i.e. HelloGCC Workshop)

2014-04-24 Thread Hui Zhu
* Call for Topics and Sponsors Workshop on Open Source Development Tools 2014 (i.e. HelloGCC Workshop) Beijing, China Sep. 13rd, 2014 (TBD) HelloGCC Work Group (www.hellogcc.org)