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