函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:include\trace\events\initcall.h Create Date:2022-07-27 11:05:24
首页 Copyright©Brick

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#endif /* _LINUX_SYSLOG_H */
#include <linux/cpu.h>
#include <linux/rculist.h>
#include <linux/poll.h>
#include <linux/irq_work.h>
#include <linux/ctype.h>
#include <linux/uio.h>
#include <linux/sched/clock.h>
#include <linux/sched/debug.h>
#include <linux/sched/task_stack.h>
 
#include <linux/uaccess.h>
#include <asm/sections.h>
 
#include <trace/events/initcall.h>
/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM initcall
 
#if !defined(_TRACE_INITCALL_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_INITCALL_H
 
#include <linux/tracepoint.h>
 
TRACE_EVENT(initcall_level,
 
    TP_PROTO(const char *level),
 
    TP_ARGS(level),
 
    TP_STRUCT__entry(
        __string(level, level)
    ),
 
    TP_fast_assign(
        __assign_str(level, level);
    ),
 
    TP_printk("level=%s", __get_str(level))
);