initial code repo
[stor4nfv.git] / src / ceph / examples / rbd-replay / replay
diff --git a/src/ceph/examples/rbd-replay/replay b/src/ceph/examples/rbd-replay/replay
new file mode 100755 (executable)
index 0000000..42f4f20
--- /dev/null
@@ -0,0 +1,9 @@
+#!/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