Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158457
b: refs/heads/master
c: 7cb2e3e
h: refs/heads/master
i:
  158455: 546be81
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Aug 26, 2009
1 parent 24dc666 commit e65fb2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ac35daa9343936038a3c9c4f4d6d3fe6a2a7bd8
refs/heads/master: 7cb2e3ee2aeec5b83ecadba929a2dc575dd4008f
13 changes: 11 additions & 2 deletions trunk/include/linux/tracepoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,15 @@ static inline void tracepoint_synchronize_unregister(void)
}

#define PARAMS(args...) args
#endif

#endif /* _LINUX_TRACEPOINT_H */

/*
* Note: we keep the TRACE_EVENT outside the include file ifdef protection.
* This is due to the way trace events work. If a file includes two
* trace event headers under one "CREATE_TRACE_POINTS" the first include
* will override the TRACE_EVENT and break the second include.
*/

#ifndef TRACE_EVENT
/*
Expand Down Expand Up @@ -287,4 +295,5 @@ static inline void tracepoint_synchronize_unregister(void)

#define TRACE_EVENT(name, proto, args, struct, assign, print) \
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
#endif

#endif /* ifdef TRACE_EVENT (see note above) */

0 comments on commit e65fb2f

Please sign in to comment.