aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-04-05 12:09:21 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-04-05 12:18:31 -0700
commite9ec16177f2b675829a7b73b6b72c64f5b40e73f (patch)
tree7bb1685789e584a373d8ed500323e1c94a79d10b
parent5830afa53252078e1575ec8218bfe19b5f9cc24c (diff)
downloadllvm-e9ec16177f2b675829a7b73b6b72c64f5b40e73f.zip
llvm-e9ec16177f2b675829a7b73b6b72c64f5b40e73f.tar.gz
llvm-e9ec16177f2b675829a7b73b6b72c64f5b40e73f.tar.bz2
Change the LLVM signpost category
Currently, the LLVM/LLDB timers are visible in Instruments for all apps. The developer-visible "PointsOfInterest" category is reserved for runtime issues and developer-authored "important" logging. These logs are visible to developer almost always in Instruments The LLVM/LLDB timers do not belong there. Having these present in the system is noisy and confusing to developers. This patch moves them under a new "toolchain" category. rdar://91266582 Differential revision: https://reviews.llvm.org/D123149
-rw-r--r--llvm/lib/Support/Signposts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Signposts.cpp b/llvm/lib/Support/Signposts.cpp
index b0e5900..232b84e 100644
--- a/llvm/lib/Support/Signposts.cpp
+++ b/llvm/lib/Support/Signposts.cpp
@@ -25,7 +25,7 @@ using namespace llvm;
namespace {
os_log_t *LogCreator() {
os_log_t *X = new os_log_t;
- *X = os_log_create("org.llvm.signposts", OS_LOG_CATEGORY_POINTS_OF_INTEREST);
+ *X = os_log_create("org.llvm.signposts", "toolchain");
return X;
}
struct LogDeleter {