-
Notifications
You must be signed in to change notification settings - Fork 15k
/
build_add_electron_tracing_category.patch
21 lines (19 loc) · 1.21 KB
/
build_add_electron_tracing_category.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 bb47926b3d3ee58e11e9814223384690dd68dac1..f92d53109c9c02c2d144c7397b3653402a09cab0 100644
--- a/base/trace_event/builtin_categories.h
+++ b/base/trace_event/builtin_categories.h
@@ -77,6 +77,7 @@
X("drmcursor") \
X("dwrite") \
X("DXVA_Decoding") \
+ X("electron") \
X("evdev") \
X("event") \
X("exo") \