Skip to content
Permalink
Browse files

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>
  • Loading branch information...
gengjiawen authored and targos committed Mar 24, 2019
1 parent 3574b62 commit 3d9839ba3f8c105502f693d55c1dc5d0eea06d34
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/tracing/trace_event_common.h
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SRC_TRACE_EVENT_COMMON_H
#define SRC_TRACE_EVENT_COMMON_H

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

#endif // SRC_TRACE_EVENT_COMMON_H

0 comments on commit 3d9839b

Please sign in to comment.
You can’t perform that action at this time.