linux/mm/debug_page_ref.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/mm_types.h>
#include <linux/tracepoint.h>

#define CREATE_TRACE_POINTS
#include <trace/events/page_ref.h>

void __page_ref_set(struct page *page, int v)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();

void __page_ref_mod(struct page *page, int v)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();

void __page_ref_mod_and_test(struct page *page, int v, int ret)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();

void __page_ref_mod_and_return(struct page *page, int v, int ret)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();

void __page_ref_mod_unless(struct page *page, int v, int u)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();

void __page_ref_freeze(struct page *page, int v, int ret)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();

void __page_ref_unfreeze(struct page *page, int v)
{}
EXPORT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();