ceph/examples/rbd-replay/replay

10 lines
228 B
Bash
Executable File

#!/bin/bash
lttng create
lttng enable-event -u 'librbd:*'
lttng add-context -u -t pthread_id
lttng start
../../src/rbd-replay --conf=../../src/ceph.conf replay.bin "$@" | tee replay.log
lttng stop
lttng view > replay-trace.log