ceph/examples/rbd-replay/trace
Adam Crume 4c4289c246 lttng: Add rbd-replay
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:29 -07:00

11 lines
273 B
Bash
Executable File

#!/bin/bash
mkdir -p traces
lttng create -o traces librbd
lttng enable-event -u 'librbd:*'
lttng add-context -u -t pthread_id
lttng start
LD_LIBRARY_PATH=../../src/.libs/ qemu-system-i386 -m 1024 rbd:rbd/my-image:conf=../../src/ceph.conf
lttng stop
lttng view > trace.log