Skip to content

Commit 63f845c

Browse files
clasquimofeing
andauthored
Update src/Instrumentation/ExtraeLocalManager.jl
Co-authored-by: Sergio Sánchez Ramírez <[email protected]>
1 parent 5a7eadf commit 63f845c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Instrumentation/ExtraeLocalManager.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ function Distributed.launch(manager::ExtraeLocalManager, params::Dict, launched:
2020
cookie = cluster_cookie()
2121

2222
#hookline = """using Distributed; f = Base.open("hooked.txt", "w"); write(f, $(repr(string(cookie))))"""
23-
hookline = """using Distributed; using Extrae; using Cassette; Cassette.overdub(Extrae.ExtraeCtx(), start_worker, $(repr(string(cookie))))"""
23+
hookline = """
24+
using Distributed
25+
using Extrae
26+
using Cassette
27+
28+
Cassette.overdub(Extrae.ExtraeCtx(), start_worker, $(repr(string(cookie))))
29+
"""
2430

2531

2632
# Bug: Instead of using julia_cmd(exename), I directly use exename because idk howto access Base.julia_cmd

0 commit comments

Comments
 (0)