mirror of
https://github.com/ceph/ceph
synced 2024-12-20 02:13:04 +00:00
b8b43fe59d
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
12 lines
326 B
Bash
Executable File
12 lines
326 B
Bash
Executable File
#!/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
|