mirror of https://github.com/electron/electron
22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Attard <sattard@slack-corp.com>
|
|
Date: Tue, 23 Apr 2019 09:51:43 -0700
|
|
Subject: build_add_electron_tracing_category.patch
|
|
|
|
All TRACE events in Chromium use a static assert to ensure that the
|
|
categories in use are known / declared. This patch is required for us
|
|
to introduce a new Electron category for Electron-specific tracing.
|
|
|
|
diff --git a/base/trace_event/builtin_categories.h b/base/trace_event/builtin_categories.h
|
|
index 8c6cf1b8c13030bc9e33c8bd6e7f81e9c0ce34e9..3d968f801c47f4b80ef571b99890d926d383a929 100644
|
|
--- a/base/trace_event/builtin_categories.h
|
|
+++ b/base/trace_event/builtin_categories.h
|
|
@@ -87,6 +87,7 @@
|
|
X("drm") \
|
|
X("drmcursor") \
|
|
X("dwrite") \
|
|
+ X("electron") \
|
|
X("evdev") \
|
|
X("event") \
|
|
X("exo") \
|