Skip to content

Commit 0b87ee6

Browse files
authored
Merge pull request #72952 from mikeash/exclude-logd-helper-6.0
[6.0][Runtime] Exclude logd_helper from tracing.
2 parents 34c2f92 + 9e58363 commit 0b87ee6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Runtime/TracingCommon.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ static inline bool shouldEnableTracing() {
3434
if (__progname && (strcmp(__progname, "logd") == 0 ||
3535
strcmp(__progname, "diagnosticd") == 0 ||
3636
strcmp(__progname, "notifyd") == 0 ||
37-
strcmp(__progname, "xpcproxy") == 0))
37+
strcmp(__progname, "xpcproxy") == 0 ||
38+
strcmp(__progname, "logd_helper") == 0))
3839
return false;
3940
return true;
4041
}

0 commit comments

Comments
 (0)