-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jiri Olsa
authored and
Steven Rostedt
committed
Aug 19, 2011
1 parent
d336f72
commit 21ec2a7
Showing
5 changed files
with
265 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: f30120fce1efaa426f340a354d5ace36dab59f0e | ||
refs/heads/master: 1d0e78e380cd2802aa603a50e08220dfc681141c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#undef TRACE_SYSTEM | ||
#define TRACE_SYSTEM test | ||
|
||
#if !defined(_TRACE_TEST_H) || defined(TRACE_HEADER_MULTI_READ) | ||
#define _TRACE_TEST_H | ||
|
||
#include <linux/tracepoint.h> | ||
|
||
TRACE_EVENT(ftrace_test_filter, | ||
|
||
TP_PROTO(int a, int b, int c, int d, int e, int f, int g, int h), | ||
|
||
TP_ARGS(a, b, c, d, e, f, g, h), | ||
|
||
TP_STRUCT__entry( | ||
__field(int, a) | ||
__field(int, b) | ||
__field(int, c) | ||
__field(int, d) | ||
__field(int, e) | ||
__field(int, f) | ||
__field(int, g) | ||
__field(int, h) | ||
), | ||
|
||
TP_fast_assign( | ||
__entry->a = a; | ||
__entry->b = b; | ||
__entry->c = c; | ||
__entry->d = d; | ||
__entry->e = e; | ||
__entry->f = f; | ||
__entry->g = g; | ||
__entry->h = h; | ||
), | ||
|
||
TP_printk("a %d, b %d, c %d, d %d, e %d, f %d, g %d, h %d", | ||
__entry->a, __entry->b, __entry->c, __entry->d, | ||
__entry->e, __entry->f, __entry->g, __entry->h) | ||
); | ||
|
||
#endif /* _TRACE_TEST_H || TRACE_HEADER_MULTI_READ */ | ||
|
||
#undef TRACE_INCLUDE_PATH | ||
#undef TRACE_INCLUDE_FILE | ||
#define TRACE_INCLUDE_PATH . | ||
#define TRACE_INCLUDE_FILE trace_events_filter_test | ||
|
||
/* This part must be outside protection */ | ||
#include <trace/define_trace.h> |