Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

add some parameters for lttng #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarking/mod/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def run(self):
common.pdsh(user, nodes, "ps aux | grep ceph-osd | grep -v 'grep' | awk '{print $2}' | while read pid;do strace -ttt -T -e trace=desc -p ${pid} -o %s/`hostname`_strace_${pid}.txt 2>&1 > %s/`hostname`_strace_${pid}.log & done" % (dest_dir, dest_dir), option="force")
if "lttng" in self.cluster["collector"]:
common.printout("LOG","Start lttng data collector under %s " % nodes)
common.pdsh(user, nodes, "export HOME='%s'; lttng destroy 2>/dev/null; lttng create zipkin; lttng enable-channel channel0 -u --buffers-pid; lttng enable-event -c channel0 --userspace zipkin:*; lttng start;" % (dest_dir))
common.pdsh(user, nodes, "export HOME='%s'; lttng destroy 2>/dev/null; lttng create osd; lttng enable-channel channel0 -u --buffers-pid; lttng add-context -u -t vpid -t procname; lttng enable-event -c channel0 -u -a; lttng start;" % (dest_dir))
need_smart_dict = {}
for node in nodes:
nvme_devs = []
Expand Down