Skip to content

Commit 7eddcf2

Browse files
testing macos
1 parent 0c68cec commit 7eddcf2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

cylc/flow/scripts/profiler.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,18 @@ def get_config(args):
225225
# Find the cgroup that this process is running in.
226226
# Cylc will put this profiler in the same cgroup
227227
# as the job it is profiling
228-
print("profiler started")
228+
print("Getting cgroup name")
229229
cgroup_name = get_cgroup_name()
230+
print("Cgroup name is:", cgroup_name)
231+
print("Getting cgroup version")
230232
cgroup_version = get_cgroup_version(args.cgroup_location, cgroup_name)
233+
print("Cgroup version is:", cgroup_version)
234+
print("Getting cgroup paths")
231235
process = get_cgroup_paths(cgroup_version,
232236
args.cgroup_location,
233237
cgroup_name)
234-
238+
print("Cgroup paths are:", process)
239+
print("Starting profiler")
235240
profile(process, cgroup_version, args.delay)
236241

237242

0 commit comments

Comments
 (0)