summaryrefslogtreecommitdiffstats
path: root/examples/rbd-replay/replay
blob: 9b138c67836bc1d30ffdc0ebff7daf5b3e80e76a (plain)
1
2
3
4
5
6
7
8
9
#!/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