Code Review
/
stor4nfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
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
+++ b/
src/ceph/examples/rbd-replay/replay
@@ -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