OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
include
/
trace
/
events
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:23 AM
rwxr-xr-x
📄
9p.h
5.1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
afs.h
13.13 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
alarmtimer.h
2.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
asoc.h
5.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bcache.h
10.9 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
block.h
17.18 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bpf.h
8.23 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bridge.h
3.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
btrfs.h
46.21 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
cgroup.h
3.21 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
clk.h
3.69 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cma.h
1.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
compaction.h
7.76 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
context_tracking.h
1.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cpuhp.h
1.83 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
devlink.h
1.76 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma_fence.h
1.66 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ext4.h
64.44 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
f2fs.h
36.38 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
fib.h
2.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fib6.h
1.82 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
filelock.h
6.27 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
filemap.h
2.74 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fs.h
946 bytes
11/01/2022 04:52:05 PM
rw-r--r--
📄
fs_dax.h
8.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fsi.h
2.81 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fsi_master_gpio.h
1.54 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gpio.h
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
host1x.h
5.77 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hswadsp.h
8.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
huge_memory.h
4.33 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
i2c.h
4.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
intel-sst.h
2.51 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
intel_ish.h
556 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
iommu.h
3.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ipi.h
1.88 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq.h
3.8 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq_matrix.h
4.94 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
jbd2.h
9.79 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kmem.h
7.39 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kvm.h
9.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
libata.h
11.57 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
lock.h
1.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mce.h
1.85 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mdio.h
1.02 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
migrate.h
2.42 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmc.h
7.24 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
mmflags.h
8.29 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
module.h
2.78 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
napi.h
1013 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
net.h
6.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
nilfs2.h
5.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
nmi.h
780 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
oom.h
3.88 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
page_isolation.h
943 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
page_ref.h
2.99 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pagemap.h
2.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
percpu.h
2.61 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
power.h
11.35 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
power_cpu_migrate.h
1.59 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
preemptirq.h
1.95 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
printk.h
786 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
qdisc.h
1.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rcu.h
24.64 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
regulator.h
2.4 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rpm.h
2.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rxrpc.h
33.79 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
sched.h
14.12 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
scsi.h
12.32 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
signal.h
3.43 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
skb.h
1.38 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
smbus.h
7.51 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sock.h
1.72 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
spi.h
3.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
spmi.h
3.24 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
sunrpc.h
18.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sunvnet.h
3.06 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
swiotlb.h
1.22 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
syscalls.h
1.48 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
target.h
7.52 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
task.h
1.49 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tcp.h
6.57 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
thermal.h
5.58 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
thermal_power_allocator.h
3.22 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
thp.h
2.09 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timer.h
9.58 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
tlb.h
1.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
udp.h
632 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ufs.h
6.85 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
v4l2.h
8.81 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
vb2.h
1.73 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
vmscan.h
12.47 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
vsock_virtio_transport_common.h
3.49 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
wbt.h
3.83 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
workqueue.h
2.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
writeback.h
19.81 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
xdp.h
5.76 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xen.h
14.66 KB
11/01/2022 04:52:05 PM
rw-r--r--
Editing: timer.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM timer #if !defined(_TRACE_TIMER_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_TIMER_H #include <linux/tracepoint.h> #include <linux/hrtimer.h> #include <linux/timer.h> DECLARE_EVENT_CLASS(timer_class, TP_PROTO(struct timer_list *timer), TP_ARGS(timer), TP_STRUCT__entry( __field( void *, timer ) ), TP_fast_assign( __entry->timer = timer; ), TP_printk("timer=%p", __entry->timer) ); /** * timer_init - called when the timer is initialized * @timer: pointer to struct timer_list */ DEFINE_EVENT(timer_class, timer_init, TP_PROTO(struct timer_list *timer), TP_ARGS(timer) ); #define decode_timer_flags(flags) \ __print_flags(flags, "|", \ { TIMER_MIGRATING, "M" }, \ { TIMER_DEFERRABLE, "D" }, \ { TIMER_PINNED, "P" }, \ { TIMER_IRQSAFE, "I" }) /** * timer_start - called when the timer is started * @timer: pointer to struct timer_list * @expires: the timers expiry time */ TRACE_EVENT(timer_start, TP_PROTO(struct timer_list *timer, unsigned long expires, unsigned int flags), TP_ARGS(timer, expires, flags), TP_STRUCT__entry( __field( void *, timer ) __field( void *, function ) __field( unsigned long, expires ) __field( unsigned long, now ) __field( unsigned int, flags ) ), TP_fast_assign( __entry->timer = timer; __entry->function = timer->function; __entry->expires = expires; __entry->now = jiffies; __entry->flags = flags; ), TP_printk("timer=%p function=%pf expires=%lu [timeout=%ld] cpu=%u idx=%u flags=%s", __entry->timer, __entry->function, __entry->expires, (long)__entry->expires - __entry->now, __entry->flags & TIMER_CPUMASK, __entry->flags >> TIMER_ARRAYSHIFT, decode_timer_flags(__entry->flags & TIMER_TRACE_FLAGMASK)) ); /** * timer_expire_entry - called immediately before the timer callback * @timer: pointer to struct timer_list * * Allows to determine the timer latency. */ TRACE_EVENT(timer_expire_entry, TP_PROTO(struct timer_list *timer), TP_ARGS(timer), TP_STRUCT__entry( __field( void *, timer ) __field( unsigned long, now ) __field( void *, function) ), TP_fast_assign( __entry->timer = timer; __entry->now = jiffies; __entry->function = timer->function; ), TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now) ); /** * timer_expire_exit - called immediately after the timer callback returns * @timer: pointer to struct timer_list * * When used in combination with the timer_expire_entry tracepoint we can * determine the runtime of the timer callback function. * * NOTE: Do NOT derefernce timer in TP_fast_assign. The pointer might * be invalid. We solely track the pointer. */ DEFINE_EVENT(timer_class, timer_expire_exit, TP_PROTO(struct timer_list *timer), TP_ARGS(timer) ); /** * timer_cancel - called when the timer is canceled * @timer: pointer to struct timer_list */ DEFINE_EVENT(timer_class, timer_cancel, TP_PROTO(struct timer_list *timer), TP_ARGS(timer) ); #define decode_clockid(type) \ __print_symbolic(type, \ { CLOCK_REALTIME, "CLOCK_REALTIME" }, \ { CLOCK_MONOTONIC, "CLOCK_MONOTONIC" }, \ { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \ { CLOCK_TAI, "CLOCK_TAI" }) #define decode_hrtimer_mode(mode) \ __print_symbolic(mode, \ { HRTIMER_MODE_ABS, "ABS" }, \ { HRTIMER_MODE_REL, "REL" }, \ { HRTIMER_MODE_ABS_PINNED, "ABS|PINNED" }, \ { HRTIMER_MODE_REL_PINNED, "REL|PINNED" }) /** * hrtimer_init - called when the hrtimer is initialized * @hrtimer: pointer to struct hrtimer * @clockid: the hrtimers clock * @mode: the hrtimers mode */ TRACE_EVENT(hrtimer_init, TP_PROTO(struct hrtimer *hrtimer, clockid_t clockid, enum hrtimer_mode mode), TP_ARGS(hrtimer, clockid, mode), TP_STRUCT__entry( __field( void *, hrtimer ) __field( clockid_t, clockid ) __field( enum hrtimer_mode, mode ) ), TP_fast_assign( __entry->hrtimer = hrtimer; __entry->clockid = clockid; __entry->mode = mode; ), TP_printk("hrtimer=%p clockid=%s mode=%s", __entry->hrtimer, decode_clockid(__entry->clockid), decode_hrtimer_mode(__entry->mode)) ); /** * hrtimer_start - called when the hrtimer is started * @hrtimer: pointer to struct hrtimer */ TRACE_EVENT(hrtimer_start, TP_PROTO(struct hrtimer *hrtimer), TP_ARGS(hrtimer), TP_STRUCT__entry( __field( void *, hrtimer ) __field( void *, function ) __field( s64, expires ) __field( s64, softexpires ) ), TP_fast_assign( __entry->hrtimer = hrtimer; __entry->function = hrtimer->function; __entry->expires = hrtimer_get_expires(hrtimer); __entry->softexpires = hrtimer_get_softexpires(hrtimer); ), TP_printk("hrtimer=%p function=%pf expires=%llu softexpires=%llu", __entry->hrtimer, __entry->function, (unsigned long long) __entry->expires, (unsigned long long) __entry->softexpires) ); /** * hrtimer_expire_entry - called immediately before the hrtimer callback * @hrtimer: pointer to struct hrtimer * @now: pointer to variable which contains current time of the * timers base. * * Allows to determine the timer latency. */ TRACE_EVENT(hrtimer_expire_entry, TP_PROTO(struct hrtimer *hrtimer, ktime_t *now), TP_ARGS(hrtimer, now), TP_STRUCT__entry( __field( void *, hrtimer ) __field( s64, now ) __field( void *, function) ), TP_fast_assign( __entry->hrtimer = hrtimer; __entry->now = *now; __entry->function = hrtimer->function; ), TP_printk("hrtimer=%p function=%pf now=%llu", __entry->hrtimer, __entry->function, (unsigned long long) __entry->now) ); DECLARE_EVENT_CLASS(hrtimer_class, TP_PROTO(struct hrtimer *hrtimer), TP_ARGS(hrtimer), TP_STRUCT__entry( __field( void *, hrtimer ) ), TP_fast_assign( __entry->hrtimer = hrtimer; ), TP_printk("hrtimer=%p", __entry->hrtimer) ); /** * hrtimer_expire_exit - called immediately after the hrtimer callback returns * @hrtimer: pointer to struct hrtimer * * When used in combination with the hrtimer_expire_entry tracepoint we can * determine the runtime of the callback function. */ DEFINE_EVENT(hrtimer_class, hrtimer_expire_exit, TP_PROTO(struct hrtimer *hrtimer), TP_ARGS(hrtimer) ); /** * hrtimer_cancel - called when the hrtimer is canceled * @hrtimer: pointer to struct hrtimer */ DEFINE_EVENT(hrtimer_class, hrtimer_cancel, TP_PROTO(struct hrtimer *hrtimer), TP_ARGS(hrtimer) ); /** * itimer_state - called when itimer is started or canceled * @which: name of the interval timer * @value: the itimers value, itimer is canceled if value->it_value is * zero, otherwise it is started * @expires: the itimers expiry time */ TRACE_EVENT(itimer_state, TP_PROTO(int which, const struct itimerval *const value, unsigned long long expires), TP_ARGS(which, value, expires), TP_STRUCT__entry( __field( int, which ) __field( unsigned long long, expires ) __field( long, value_sec ) __field( long, value_usec ) __field( long, interval_sec ) __field( long, interval_usec ) ), TP_fast_assign( __entry->which = which; __entry->expires = expires; __entry->value_sec = value->it_value.tv_sec; __entry->value_usec = value->it_value.tv_usec; __entry->interval_sec = value->it_interval.tv_sec; __entry->interval_usec = value->it_interval.tv_usec; ), TP_printk("which=%d expires=%llu it_value=%ld.%ld it_interval=%ld.%ld", __entry->which, __entry->expires, __entry->value_sec, __entry->value_usec, __entry->interval_sec, __entry->interval_usec) ); /** * itimer_expire - called when itimer expires * @which: type of the interval timer * @pid: pid of the process which owns the timer * @now: current time, used to calculate the latency of itimer */ TRACE_EVENT(itimer_expire, TP_PROTO(int which, struct pid *pid, unsigned long long now), TP_ARGS(which, pid, now), TP_STRUCT__entry( __field( int , which ) __field( pid_t, pid ) __field( unsigned long long, now ) ), TP_fast_assign( __entry->which = which; __entry->now = now; __entry->pid = pid_nr(pid); ), TP_printk("which=%d pid=%d now=%llu", __entry->which, (int) __entry->pid, __entry->now) ); #ifdef CONFIG_NO_HZ_COMMON #define TICK_DEP_NAMES \ tick_dep_mask_name(NONE) \ tick_dep_name(POSIX_TIMER) \ tick_dep_name(PERF_EVENTS) \ tick_dep_name(SCHED) \ tick_dep_name_end(CLOCK_UNSTABLE) #undef tick_dep_name #undef tick_dep_mask_name #undef tick_dep_name_end /* The MASK will convert to their bits and they need to be processed too */ #define tick_dep_name(sdep) TRACE_DEFINE_ENUM(TICK_DEP_BIT_##sdep); \ TRACE_DEFINE_ENUM(TICK_DEP_MASK_##sdep); #define tick_dep_name_end(sdep) TRACE_DEFINE_ENUM(TICK_DEP_BIT_##sdep); \ TRACE_DEFINE_ENUM(TICK_DEP_MASK_##sdep); /* NONE only has a mask defined for it */ #define tick_dep_mask_name(sdep) TRACE_DEFINE_ENUM(TICK_DEP_MASK_##sdep); TICK_DEP_NAMES #undef tick_dep_name #undef tick_dep_mask_name #undef tick_dep_name_end #define tick_dep_name(sdep) { TICK_DEP_MASK_##sdep, #sdep }, #define tick_dep_mask_name(sdep) { TICK_DEP_MASK_##sdep, #sdep }, #define tick_dep_name_end(sdep) { TICK_DEP_MASK_##sdep, #sdep } #define show_tick_dep_name(val) \ __print_symbolic(val, TICK_DEP_NAMES) TRACE_EVENT(tick_stop, TP_PROTO(int success, int dependency), TP_ARGS(success, dependency), TP_STRUCT__entry( __field( int , success ) __field( int , dependency ) ), TP_fast_assign( __entry->success = success; __entry->dependency = dependency; ), TP_printk("success=%d dependency=%s", __entry->success, \ show_tick_dep_name(__entry->dependency)) ); #endif #endif /* _TRACE_TIMER_H */ /* This part must be outside protection */ #include <trace/define_trace.h>