mirror of
https://github.com/ceph/ceph
synced 2024-12-12 14:39:05 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
10 lines
236 B
Bash
Executable File
10 lines
236 B
Bash
Executable File
#!/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
|