Li Zefan | d0b6e04 | 2009-07-13 10:33:21 +0800 | [diff] [blame] | 1 | #undef TRACE_SYSTEM |
| 2 | #define TRACE_SYSTEM kmem |
| 3 | |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 4 | #if !defined(_TRACE_KMEM_H) || defined(TRACE_HEADER_MULTI_READ) |
Zhaolei | 02af61b | 2009-04-10 14:26:18 +0800 | [diff] [blame] | 5 | #define _TRACE_KMEM_H |
Eduard - Gabriel Munteanu | b9ce08c | 2008-08-10 20:14:03 +0300 | [diff] [blame] | 6 | |
| 7 | #include <linux/types.h> |
Zhaolei | fc182a4 | 2009-04-10 14:27:38 +0800 | [diff] [blame] | 8 | #include <linux/tracepoint.h> |
David Howells | a1ce392 | 2012-10-02 18:01:25 +0100 | [diff] [blame] | 9 | #include <trace/events/gfpflags.h> |
Steven Rostedt | 62ba180 | 2009-05-15 16:16:30 -0400 | [diff] [blame] | 10 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 11 | DECLARE_EVENT_CLASS(kmem_alloc, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 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 | |
Steven Rostedt | 62ba180 | 2009-05-15 16:16:30 -0400 | [diff] [blame] | 37 | TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s", |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 38 | __entry->call_site, |
| 39 | __entry->ptr, |
| 40 | __entry->bytes_req, |
| 41 | __entry->bytes_alloc, |
Steven Rostedt | 62ba180 | 2009-05-15 16:16:30 -0400 | [diff] [blame] | 42 | show_gfp_flags(__entry->gfp_flags)) |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 43 | ); |
| 44 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 45 | DEFINE_EVENT(kmem_alloc, kmalloc, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 46 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 47 | TP_PROTO(unsigned long call_site, const void *ptr, |
| 48 | size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags), |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 49 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 50 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags) |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 51 | ); |
| 52 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 53 | DEFINE_EVENT(kmem_alloc, kmem_cache_alloc, |
| 54 | |
| 55 | TP_PROTO(unsigned long call_site, const void *ptr, |
| 56 | size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags), |
| 57 | |
| 58 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags) |
| 59 | ); |
| 60 | |
| 61 | DECLARE_EVENT_CLASS(kmem_alloc_node, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 62 | |
| 63 | TP_PROTO(unsigned long call_site, |
| 64 | const void *ptr, |
| 65 | size_t bytes_req, |
| 66 | size_t bytes_alloc, |
| 67 | gfp_t gfp_flags, |
| 68 | int node), |
| 69 | |
| 70 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node), |
| 71 | |
| 72 | TP_STRUCT__entry( |
| 73 | __field( unsigned long, call_site ) |
| 74 | __field( const void *, ptr ) |
| 75 | __field( size_t, bytes_req ) |
| 76 | __field( size_t, bytes_alloc ) |
| 77 | __field( gfp_t, gfp_flags ) |
| 78 | __field( int, node ) |
| 79 | ), |
| 80 | |
| 81 | TP_fast_assign( |
| 82 | __entry->call_site = call_site; |
| 83 | __entry->ptr = ptr; |
| 84 | __entry->bytes_req = bytes_req; |
| 85 | __entry->bytes_alloc = bytes_alloc; |
| 86 | __entry->gfp_flags = gfp_flags; |
| 87 | __entry->node = node; |
| 88 | ), |
| 89 | |
Steven Rostedt | 62ba180 | 2009-05-15 16:16:30 -0400 | [diff] [blame] | 90 | TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d", |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 91 | __entry->call_site, |
| 92 | __entry->ptr, |
| 93 | __entry->bytes_req, |
| 94 | __entry->bytes_alloc, |
Steven Rostedt | 62ba180 | 2009-05-15 16:16:30 -0400 | [diff] [blame] | 95 | show_gfp_flags(__entry->gfp_flags), |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 96 | __entry->node) |
| 97 | ); |
| 98 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 99 | DEFINE_EVENT(kmem_alloc_node, kmalloc_node, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 100 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 101 | TP_PROTO(unsigned long call_site, const void *ptr, |
| 102 | size_t bytes_req, size_t bytes_alloc, |
| 103 | gfp_t gfp_flags, int node), |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 104 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 105 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node) |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 106 | ); |
| 107 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 108 | DEFINE_EVENT(kmem_alloc_node, kmem_cache_alloc_node, |
| 109 | |
| 110 | TP_PROTO(unsigned long call_site, const void *ptr, |
| 111 | size_t bytes_req, size_t bytes_alloc, |
| 112 | gfp_t gfp_flags, int node), |
| 113 | |
| 114 | TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node) |
| 115 | ); |
| 116 | |
| 117 | DECLARE_EVENT_CLASS(kmem_free, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 118 | |
| 119 | TP_PROTO(unsigned long call_site, const void *ptr), |
| 120 | |
| 121 | TP_ARGS(call_site, ptr), |
| 122 | |
| 123 | TP_STRUCT__entry( |
| 124 | __field( unsigned long, call_site ) |
| 125 | __field( const void *, ptr ) |
| 126 | ), |
| 127 | |
| 128 | TP_fast_assign( |
| 129 | __entry->call_site = call_site; |
| 130 | __entry->ptr = ptr; |
| 131 | ), |
| 132 | |
| 133 | TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr) |
| 134 | ); |
| 135 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 136 | DEFINE_EVENT(kmem_free, kfree, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 137 | |
| 138 | TP_PROTO(unsigned long call_site, const void *ptr), |
| 139 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 140 | TP_ARGS(call_site, ptr) |
| 141 | ); |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 142 | |
Shreyas B. Prabhu | e5feb1e | 2015-05-28 15:44:16 -0700 | [diff] [blame^] | 143 | DEFINE_EVENT_CONDITION(kmem_free, kmem_cache_free, |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 144 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 145 | TP_PROTO(unsigned long call_site, const void *ptr), |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 146 | |
Shreyas B. Prabhu | e5feb1e | 2015-05-28 15:44:16 -0700 | [diff] [blame^] | 147 | TP_ARGS(call_site, ptr), |
| 148 | |
| 149 | /* |
| 150 | * This trace can be potentially called from an offlined cpu. |
| 151 | * Since trace points use RCU and RCU should not be used from |
| 152 | * offline cpus, filter such calls out. |
| 153 | * While this trace can be called from a preemptable section, |
| 154 | * it has no impact on the condition since tasks can migrate |
| 155 | * only from online cpus to other online cpus. Thus its safe |
| 156 | * to use raw_smp_processor_id. |
| 157 | */ |
| 158 | TP_CONDITION(cpu_online(raw_smp_processor_id())) |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 159 | ); |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 160 | |
Konstantin Khlebnikov | b413d48 | 2012-01-10 15:07:09 -0800 | [diff] [blame] | 161 | TRACE_EVENT(mm_page_free, |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 162 | |
| 163 | TP_PROTO(struct page *page, unsigned int order), |
| 164 | |
| 165 | TP_ARGS(page, order), |
| 166 | |
| 167 | TP_STRUCT__entry( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 168 | __field( unsigned long, pfn ) |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 169 | __field( unsigned int, order ) |
| 170 | ), |
| 171 | |
| 172 | TP_fast_assign( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 173 | __entry->pfn = page_to_pfn(page); |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 174 | __entry->order = order; |
| 175 | ), |
| 176 | |
| 177 | TP_printk("page=%p pfn=%lu order=%d", |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 178 | pfn_to_page(__entry->pfn), |
| 179 | __entry->pfn, |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 180 | __entry->order) |
| 181 | ); |
| 182 | |
Konstantin Khlebnikov | b413d48 | 2012-01-10 15:07:09 -0800 | [diff] [blame] | 183 | TRACE_EVENT(mm_page_free_batched, |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 184 | |
| 185 | TP_PROTO(struct page *page, int cold), |
| 186 | |
| 187 | TP_ARGS(page, cold), |
| 188 | |
| 189 | TP_STRUCT__entry( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 190 | __field( unsigned long, pfn ) |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 191 | __field( int, cold ) |
| 192 | ), |
| 193 | |
| 194 | TP_fast_assign( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 195 | __entry->pfn = page_to_pfn(page); |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 196 | __entry->cold = cold; |
| 197 | ), |
| 198 | |
| 199 | TP_printk("page=%p pfn=%lu order=0 cold=%d", |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 200 | pfn_to_page(__entry->pfn), |
| 201 | __entry->pfn, |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 202 | __entry->cold) |
| 203 | ); |
| 204 | |
| 205 | TRACE_EVENT(mm_page_alloc, |
| 206 | |
| 207 | TP_PROTO(struct page *page, unsigned int order, |
| 208 | gfp_t gfp_flags, int migratetype), |
| 209 | |
| 210 | TP_ARGS(page, order, gfp_flags, migratetype), |
| 211 | |
| 212 | TP_STRUCT__entry( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 213 | __field( unsigned long, pfn ) |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 214 | __field( unsigned int, order ) |
| 215 | __field( gfp_t, gfp_flags ) |
| 216 | __field( int, migratetype ) |
| 217 | ), |
| 218 | |
| 219 | TP_fast_assign( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 220 | __entry->pfn = page ? page_to_pfn(page) : -1UL; |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 221 | __entry->order = order; |
| 222 | __entry->gfp_flags = gfp_flags; |
| 223 | __entry->migratetype = migratetype; |
| 224 | ), |
| 225 | |
| 226 | TP_printk("page=%p pfn=%lu order=%d migratetype=%d gfp_flags=%s", |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 227 | __entry->pfn != -1UL ? pfn_to_page(__entry->pfn) : NULL, |
| 228 | __entry->pfn != -1UL ? __entry->pfn : 0, |
Mel Gorman | 4b4f278 | 2009-09-21 17:02:41 -0700 | [diff] [blame] | 229 | __entry->order, |
| 230 | __entry->migratetype, |
| 231 | show_gfp_flags(__entry->gfp_flags)) |
| 232 | ); |
| 233 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 234 | DECLARE_EVENT_CLASS(mm_page, |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 235 | |
| 236 | TP_PROTO(struct page *page, unsigned int order, int migratetype), |
| 237 | |
| 238 | TP_ARGS(page, order, migratetype), |
| 239 | |
| 240 | TP_STRUCT__entry( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 241 | __field( unsigned long, pfn ) |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 242 | __field( unsigned int, order ) |
| 243 | __field( int, migratetype ) |
| 244 | ), |
| 245 | |
| 246 | TP_fast_assign( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 247 | __entry->pfn = page ? page_to_pfn(page) : -1UL; |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 248 | __entry->order = order; |
| 249 | __entry->migratetype = migratetype; |
| 250 | ), |
| 251 | |
| 252 | TP_printk("page=%p pfn=%lu order=%u migratetype=%d percpu_refill=%d", |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 253 | __entry->pfn != -1UL ? pfn_to_page(__entry->pfn) : NULL, |
| 254 | __entry->pfn != -1UL ? __entry->pfn : 0, |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 255 | __entry->order, |
| 256 | __entry->migratetype, |
| 257 | __entry->order == 0) |
| 258 | ); |
| 259 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 260 | DEFINE_EVENT(mm_page, mm_page_alloc_zone_locked, |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 261 | |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 262 | TP_PROTO(struct page *page, unsigned int order, int migratetype), |
| 263 | |
| 264 | TP_ARGS(page, order, migratetype) |
| 265 | ); |
| 266 | |
| 267 | DEFINE_EVENT_PRINT(mm_page, mm_page_pcpu_drain, |
| 268 | |
| 269 | TP_PROTO(struct page *page, unsigned int order, int migratetype), |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 270 | |
| 271 | TP_ARGS(page, order, migratetype), |
| 272 | |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 273 | TP_printk("page=%p pfn=%lu order=%d migratetype=%d", |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 274 | pfn_to_page(__entry->pfn), __entry->pfn, |
Li Zefan | 53d0422 | 2009-11-26 15:04:10 +0800 | [diff] [blame] | 275 | __entry->order, __entry->migratetype) |
Mel Gorman | 0d3d062 | 2009-09-21 17:02:44 -0700 | [diff] [blame] | 276 | ); |
| 277 | |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 278 | TRACE_EVENT(mm_page_alloc_extfrag, |
| 279 | |
| 280 | TP_PROTO(struct page *page, |
KOSAKI Motohiro | 52c8f6a | 2013-11-12 15:08:19 -0800 | [diff] [blame] | 281 | int alloc_order, int fallback_order, |
Vlastimil Babka | 99592d5 | 2015-02-11 15:28:15 -0800 | [diff] [blame] | 282 | int alloc_migratetype, int fallback_migratetype), |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 283 | |
| 284 | TP_ARGS(page, |
| 285 | alloc_order, fallback_order, |
Vlastimil Babka | 99592d5 | 2015-02-11 15:28:15 -0800 | [diff] [blame] | 286 | alloc_migratetype, fallback_migratetype), |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 287 | |
| 288 | TP_STRUCT__entry( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 289 | __field( unsigned long, pfn ) |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 290 | __field( int, alloc_order ) |
| 291 | __field( int, fallback_order ) |
| 292 | __field( int, alloc_migratetype ) |
| 293 | __field( int, fallback_migratetype ) |
Srivatsa S. Bhat | f92310c | 2013-09-11 14:20:36 -0700 | [diff] [blame] | 294 | __field( int, change_ownership ) |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 295 | ), |
| 296 | |
| 297 | TP_fast_assign( |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 298 | __entry->pfn = page_to_pfn(page); |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 299 | __entry->alloc_order = alloc_order; |
| 300 | __entry->fallback_order = fallback_order; |
| 301 | __entry->alloc_migratetype = alloc_migratetype; |
| 302 | __entry->fallback_migratetype = fallback_migratetype; |
Vlastimil Babka | 99592d5 | 2015-02-11 15:28:15 -0800 | [diff] [blame] | 303 | __entry->change_ownership = (alloc_migratetype == |
| 304 | get_pageblock_migratetype(page)); |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 305 | ), |
| 306 | |
| 307 | TP_printk("page=%p pfn=%lu alloc_order=%d fallback_order=%d pageblock_order=%d alloc_migratetype=%d fallback_migratetype=%d fragmenting=%d change_ownership=%d", |
Namhyung Kim | 9fdd8a8 | 2015-04-06 14:36:09 +0900 | [diff] [blame] | 308 | pfn_to_page(__entry->pfn), |
| 309 | __entry->pfn, |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 310 | __entry->alloc_order, |
| 311 | __entry->fallback_order, |
| 312 | pageblock_order, |
| 313 | __entry->alloc_migratetype, |
| 314 | __entry->fallback_migratetype, |
| 315 | __entry->fallback_order < pageblock_order, |
Srivatsa S. Bhat | f92310c | 2013-09-11 14:20:36 -0700 | [diff] [blame] | 316 | __entry->change_ownership) |
Mel Gorman | e0fff1b | 2009-09-21 17:02:42 -0700 | [diff] [blame] | 317 | ); |
| 318 | |
Steven Rostedt | a8d154b | 2009-04-10 09:36:00 -0400 | [diff] [blame] | 319 | #endif /* _TRACE_KMEM_H */ |
Steven Rostedt | ea20d92 | 2009-04-10 08:54:16 -0400 | [diff] [blame] | 320 | |
Steven Rostedt | a8d154b | 2009-04-10 09:36:00 -0400 | [diff] [blame] | 321 | /* This part must be outside protection */ |
| 322 | #include <trace/define_trace.h> |