Project

General

Profile

Bug #1392 » 1392-reproducer.sh

Kienan Stewart, 03/11/2024 03:58 PM

 
#!/usr/bin/env bash
lttng create
lttng enable-channel -u --subbuf-size=64M --num-subbuf=8 chan_ust
lttng enable-channel -k --subbuf-size=64M --num-subbuf=2 chan_kernel
lttng add-context -u -t vpid -t ip -t procname -t vtid -c chan_ust
lttng enable-event -u -a -c chan_ust
lttng enable-event -k -c chan_kernel --syscall --all
lttng enable-event -k -c chan_kernel lttng_statedump_block_device,lttng_statedump_file_descriptor,lttng_statedump_process_state,mm_page_alloc,mm_page_free,net_dev_xmit,netif_receive_skb,sched_pi_setprio,sched_process_exec,sched_process_fork,sched_switch,sched_wakeup,sched_waking,softirq_entry,softirq_exit,softirq_raise

lttng start

LTTNG_UST_BLOCKING_RETRY_TIMEOUT=-1 LD_PRELOAD=liblttng-ust-fd.so:liblttng-ust-fork.so:liblttng-ust-dl.so:liblttng-ust-cyg-profile.so:liblttng-ust-libc-wrapper.so:liblttng-ust-pthread-wrapper.so src/lttng-ust/doc/examples/hello-static-lib/hello

lttng stop

lttng view > /dev/null

(4-4/8)