blob: 8739d46e174c14370f03d0f2694d36ef905e80ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
mkdir -p traces
lttng create -o traces librbd
lttng enable-event -u 'librbd:*'
lttng add-context -u -t pthread_id
lttng start
[ -z "$BUILD_DIR" ] && BUILD_DIR=build
LD_LIBRARY_PATH=../../${BUILD_DIR}/lib qemu-system-i386 -m 1024 rbd:rbd/my-image:conf=../../src/ceph.conf
lttng stop
lttng view > trace.log
|