[lttng-dev] What is DEFINE_LTTNG_UST_SIGBUS_STATE for and other beginner questions

2023-10-04 Thread Christopher Harvey via lttng-dev
Hi all, I'm just getting started with lttng and have a couple of questions. My target is getting userspace tracepoints to work in a c++ application I control. I don't need kernel or system tracing. The target is running in a docker container I have control over as well. Running with --privilege

Re: [lttng-dev] What is DEFINE_LTTNG_UST_SIGBUS_STATE for and other beginner questions

2023-10-04 Thread Christopher Harvey via lttng-dev
On Wed, Oct 4, 2023, at 3:04 PM, Kienan Stewart wrote: > Hi Chris, > > On 2023-10-04 12:56, Christopher Harvey via lttng-dev wrote: >> Hi all, >> >> I'm just getting started with lttng and have a couple of questions. My >> target is getting userspace trac

Re: [lttng-dev] What is DEFINE_LTTNG_UST_SIGBUS_STATE for and other beginner questions

2023-10-05 Thread Christopher Harvey via lttng-dev
I got this one figured out. I used strace -fp -trace=connect on the target app to see why the connect was failing and it turns out there was a mismatch between sessiond's apps-socket paths and libust's. time to review my build environment I guess. It's very possible my docker container's path

Re: [lttng-dev] Lttng: display active threads in multiple cores.

2024-03-27 Thread Christopher Harvey via lttng-dev
you can use an ftrace-enabled kernel with lttng (maybe even just tracecompass) or perfetto to get that kind of trace https://archive.eclipse.org/tracecompass.incubator/doc/org.eclipse.tracecompass.incubator.ftrace.doc.user/User-Guide.html or https://ui.perfetto.dev/ On Wed, Mar 27, 2024, at 5: