Re: [lttng-dev] Debugging Libaries in Babeltrace 2

2023-10-25 Thread Seidl, Aron via lttng-dev
Hi Simon, Thanks for your quick answer! I run GDB like this: gdb --args ./babeltrace2 /home/aron/Schreibtisch/kernel4 -o text (I'm in src/cli/.libs) I don't think I've ever installed a System Version of babeltrace2, so it is really weird that GDB uses following library: 0x77f36f00 0x000

Re: [lttng-dev] Can't receive a lot of functions that i registerd as trace-points

2023-10-25 Thread Lin ArcX via lttng-dev
On Tue, 24 Oct 2023 at 21:56, Kienan Stewart wrote: > Hi Lin, > > could you keep the lttng-dev list in CC on your replies in the future? > Yes, sure. > > > On 2023-10-24 09:25, Lin ArcX wrote: > > Thanks for your response. i fixed the names. here is new commands: > > # enable event for traced fu

Re: [lttng-dev] Debugging Libaries in Babeltrace 2

2023-10-25 Thread Philippe Proulx via lttng-dev
On Wed, Oct 25, 2023 at 3:29 AM Seidl, Aron via lttng-dev wrote: > > Hi Simon, > Thanks for your quick answer! > I run GDB like this: > gdb --args ./babeltrace2 /home/aron/Schreibtisch/kernel4 -o text > (I'm in src/cli/.libs) > > I don't think I've ever installed a System Version of babeltrace2, s

Re: [lttng-dev] Debugging Libaries in Babeltrace 2

2023-10-25 Thread Simon Marchi via lttng-dev
On 10/25/23 03:29, Seidl, Aron via lttng-dev wrote: > Hi Simon, > Thanks for your quick answer! > I run GDB like this: > gdb --args ./babeltrace2 /home/aron/Schreibtisch/kernel4 -o text > (I'm in src/cli/.libs) Don't do that (try to debug the binary in .libs directly). > I don't think I've ever i