ceph/examples/rbd-replay/replay

10 lines
236 B
Plaintext
Raw Normal View History

#!/usr/bin/env 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