summaryrefslogtreecommitdiff
path: root/include/trace/page_alloc.h
blob: c30a389ea9171104f242642602b2348251f7d965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _TRACE_PAGE_ALLOC_H
#define _TRACE_PAGE_ALLOC_H

#include <linux/tracepoint.h>

/*
 * mm_page_alloc : page can be NULL.
 */
DECLARE_TRACE(page_alloc,
	TP_PROTO(struct page *page, unsigned int order),
	TP_ARGS(page, order));
DECLARE_TRACE(page_free,
	TP_PROTO(struct page *page, unsigned int order),
	TP_ARGS(page, order));

#endif