diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2009-04-16 22:53:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-17 12:26:42 -0400 |
commit | 46de405f25f1d9fa73b657ffbb752aa0cc87a91d (patch) | |
tree | 49dd4dfb629b113bbd1d8cf0717646c13831bf02 /include/trace | |
parent | 339ae5d3c3fc2025e3657637921495fd600027c7 (diff) |
tracing: Remove include/trace/kmem_event_types.h
kmem_event_types.h is no longer necessary since tracepoint definitions
are put into include/trace/events/kmem.h
[ Impact: remove now-unused file. ]
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <49E7EF37.2080205@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/kmem_event_types.h | 193 |
1 files changed, 0 insertions, 193 deletions
diff --git a/include/trace/kmem_event_types.h b/include/trace/kmem_event_types.h deleted file mode 100644 index 4ff420fe4675..000000000000 --- a/include/trace/kmem_event_types.h +++ /dev/null | |||
@@ -1,193 +0,0 @@ | |||
1 | |||
2 | /* use <trace/kmem.h> instead */ | ||
3 | #ifndef TRACE_EVENT | ||
4 | # error Do not include this file directly. | ||
5 | # error Unless you know what you are doing. | ||
6 | #endif | ||
7 | |||
8 | #undef TRACE_SYSTEM | ||
9 | #define TRACE_SYSTEM kmem | ||
10 | |||
11 | TRACE_EVENT(kmalloc, | ||
12 | |||
13 | TP_PROTO(unsigned long call_site, | ||
14 | const void *ptr, | ||
15 | size_t bytes_req, | ||
16 | size_t bytes_alloc, | ||
17 | gfp_t gfp_flags), | ||
18 | |||
19 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags), | ||
20 | |||
21 | TP_STRUCT__entry( | ||
22 | __field( unsigned long, call_site ) | ||
23 | __field( const void *, ptr ) | ||
24 | __field( size_t, bytes_req ) | ||
25 | __field( size_t, bytes_alloc ) | ||
26 | __field( gfp_t, gfp_flags ) | ||
27 | ), | ||
28 | |||
29 | TP_fast_assign( | ||
30 | __entry->call_site = call_site; | ||
31 | __entry->ptr = ptr; | ||
32 | __entry->bytes_req = bytes_req; | ||
33 | __entry->bytes_alloc = bytes_alloc; | ||
34 | __entry->gfp_flags = gfp_flags; | ||
35 | ), | ||
36 | |||
37 | TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%08x", | ||
38 | __entry->call_site, | ||
39 | __entry->ptr, | ||
40 | __entry->bytes_req, | ||
41 | __entry->bytes_alloc, | ||
42 | __entry->gfp_flags) | ||
43 | ); | ||
44 | |||
45 | TRACE_EVENT(kmem_cache_alloc, | ||
46 | |||
47 | TP_PROTO(unsigned long call_site, | ||
48 | const void *ptr, | ||
49 | size_t bytes_req, | ||
50 | size_t bytes_alloc, | ||
51 | gfp_t gfp_flags), | ||
52 | |||
53 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags), | ||
54 | |||
55 | TP_STRUCT__entry( | ||
56 | __field( unsigned long, call_site ) | ||
57 | __field( const void *, ptr ) | ||
58 | __field( size_t, bytes_req ) | ||
59 | __field( size_t, bytes_alloc ) | ||
60 | __field( gfp_t, gfp_flags ) | ||
61 | ), | ||
62 | |||
63 | TP_fast_assign( | ||
64 | __entry->call_site = call_site; | ||
65 | __entry->ptr = ptr; | ||
66 | __entry->bytes_req = bytes_req; | ||
67 | __entry->bytes_alloc = bytes_alloc; | ||
68 | __entry->gfp_flags = gfp_flags; | ||
69 | ), | ||
70 | |||
71 | TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%08x", | ||
72 | __entry->call_site, | ||
73 | __entry->ptr, | ||
74 | __entry->bytes_req, | ||
75 | __entry->bytes_alloc, | ||
76 | __entry->gfp_flags) | ||
77 | ); | ||
78 | |||
79 | TRACE_EVENT(kmalloc_node, | ||
80 | |||
81 | TP_PROTO(unsigned long call_site, | ||
82 | const void *ptr, | ||
83 | size_t bytes_req, | ||
84 | size_t bytes_alloc, | ||
85 | gfp_t gfp_flags, | ||
86 | int node), | ||
87 | |||
88 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node), | ||
89 | |||
90 | TP_STRUCT__entry( | ||
91 | __field( unsigned long, call_site ) | ||
92 | __field( const void *, ptr ) | ||
93 | __field( size_t, bytes_req ) | ||
94 | __field( size_t, bytes_alloc ) | ||
95 | __field( gfp_t, gfp_flags ) | ||
96 | __field( int, node ) | ||
97 | ), | ||
98 | |||
99 | TP_fast_assign( | ||
100 | __entry->call_site = call_site; | ||
101 | __entry->ptr = ptr; | ||
102 | __entry->bytes_req = bytes_req; | ||
103 | __entry->bytes_alloc = bytes_alloc; | ||
104 | __entry->gfp_flags = gfp_flags; | ||
105 | __entry->node = node; | ||
106 | ), | ||
107 | |||
108 | TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%08x node=%d", | ||
109 | __entry->call_site, | ||
110 | __entry->ptr, | ||
111 | __entry->bytes_req, | ||
112 | __entry->bytes_alloc, | ||
113 | __entry->gfp_flags, | ||
114 | __entry->node) | ||
115 | ); | ||
116 | |||
117 | TRACE_EVENT(kmem_cache_alloc_node, | ||
118 | |||
119 | TP_PROTO(unsigned long call_site, | ||
120 | const void *ptr, | ||
121 | size_t bytes_req, | ||
122 | size_t bytes_alloc, | ||
123 | gfp_t gfp_flags, | ||
124 | int node), | ||
125 | |||
126 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node), | ||
127 | |||
128 | TP_STRUCT__entry( | ||
129 | __field( unsigned long, call_site ) | ||
130 | __field( const void *, ptr ) | ||
131 | __field( size_t, bytes_req ) | ||
132 | __field( size_t, bytes_alloc ) | ||
133 | __field( gfp_t, gfp_flags ) | ||
134 | __field( int, node ) | ||
135 | ), | ||
136 | |||
137 | TP_fast_assign( | ||
138 | __entry->call_site = call_site; | ||
139 | __entry->ptr = ptr; | ||
140 | __entry->bytes_req = bytes_req; | ||
141 | __entry->bytes_alloc = bytes_alloc; | ||
142 | __entry->gfp_flags = gfp_flags; | ||
143 | __entry->node = node; | ||
144 | ), | ||
145 | |||
146 | TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%08x node=%d", | ||
147 | __entry->call_site, | ||
148 | __entry->ptr, | ||
149 | __entry->bytes_req, | ||
150 | __entry->bytes_alloc, | ||
151 | __entry->gfp_flags, | ||
152 | __entry->node) | ||
153 | ); | ||
154 | |||
155 | TRACE_EVENT(kfree, | ||
156 | |||
157 | TP_PROTO(unsigned long call_site, const void *ptr), | ||
158 | |||
159 | TP_ARGS(call_site, ptr), | ||
160 | |||
161 | TP_STRUCT__entry( | ||
162 | __field( unsigned long, call_site ) | ||
163 | __field( const void *, ptr ) | ||
164 | ), | ||
165 | |||
166 | TP_fast_assign( | ||
167 | __entry->call_site = call_site; | ||
168 | __entry->ptr = ptr; | ||
169 | ), | ||
170 | |||
171 | TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr) | ||
172 | ); | ||
173 | |||
174 | TRACE_EVENT(kmem_cache_free, | ||
175 | |||
176 | TP_PROTO(unsigned long call_site, const void *ptr), | ||
177 | |||
178 | TP_ARGS(call_site, ptr), | ||
179 | |||
180 | TP_STRUCT__entry( | ||
181 | __field( unsigned long, call_site ) | ||
182 | __field( const void *, ptr ) | ||
183 | ), | ||
184 | |||
185 | TP_fast_assign( | ||
186 | __entry->call_site = call_site; | ||
187 | __entry->ptr = ptr; | ||
188 | ), | ||
189 | |||
190 | TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr) | ||
191 | ); | ||
192 | |||
193 | #undef TRACE_SYSTEM | ||