Skip to content

Commit 3d9839b

Browse files
gengjiawentargos
authored andcommitted
src: add include guard for trace_event_common.h
PR-URL: #26883 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 3574b62 commit 3d9839b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tracing/trace_event_common.h

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
#ifndef SRC_TRACE_EVENT_COMMON_H
6+
#define SRC_TRACE_EVENT_COMMON_H
7+
58
// This header file defines the set of trace_event macros without specifying
69
// how the events actually get collected and stored. If you need to expose trace
710
// events to some other universe, you can copy-and-paste this file as well as
@@ -1102,3 +1105,5 @@
11021105
#define TRACE_EVENT_SCOPE_NAME_GLOBAL ('g')
11031106
#define TRACE_EVENT_SCOPE_NAME_PROCESS ('p')
11041107
#define TRACE_EVENT_SCOPE_NAME_THREAD ('t')
1108+
1109+
#endif // SRC_TRACE_EVENT_COMMON_H

0 commit comments

Comments
 (0)