Skip to content

Commit

Permalink
src: add include guard for trace_event_common.h
Browse files Browse the repository at this point in the history
PR-URL: #26883
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
  • Loading branch information
gengjiawen authored and targos committed Mar 27, 2019
1 parent 3574b62 commit 3d9839b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tracing/trace_event_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.