[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.64.1.el8_10.x86_64
/
include
/
trace
/
events
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 9p.h
5,218 B
SET
[ EDIT ]
|
[ DEL ]
📄 afs.h
17,619 B
SET
[ EDIT ]
|
[ DEL ]
📄 alarmtimer.h
2,087 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc.h
5,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 avc.h
1,292 B
SET
[ EDIT ]
|
[ DEL ]
📄 bcache.h
11,165 B
SET
[ EDIT ]
|
[ DEL ]
📄 block.h
16,779 B
SET
[ EDIT ]
|
[ DEL ]
📄 bpf_test_run.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 bridge.h
3,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 btrfs.h
49,763 B
SET
[ EDIT ]
|
[ DEL ]
📄 cachefiles.h
8,350 B
SET
[ EDIT ]
|
[ DEL ]
📄 cgroup.h
4,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk.h
3,777 B
SET
[ EDIT ]
|
[ DEL ]
📄 cma.h
1,339 B
SET
[ EDIT ]
|
[ DEL ]
📄 compaction.h
8,089 B
SET
[ EDIT ]
|
[ DEL ]
📄 context_tracking.h
1,177 B
SET
[ EDIT ]
|
[ DEL ]
📄 cpuhp.h
1,871 B
SET
[ EDIT ]
|
[ DEL ]
📄 damon.h
1,162 B
SET
[ EDIT ]
|
[ DEL ]
📄 devlink.h
7,376 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma_fence.h
1,700 B
SET
[ EDIT ]
|
[ DEL ]
📄 ext4.h
68,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 f2fs.h
37,224 B
SET
[ EDIT ]
|
[ DEL ]
📄 fib.h
2,285 B
SET
[ EDIT ]
|
[ DEL ]
📄 fib6.h
2,423 B
SET
[ EDIT ]
|
[ DEL ]
📄 filelock.h
7,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 filemap.h
2,804 B
SET
[ EDIT ]
|
[ DEL ]
📄 fs.h
3,373 B
SET
[ EDIT ]
|
[ DEL ]
📄 fs_dax.h
8,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 fscache.h
15,208 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsi.h
2,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsi_master_gpio.h
1,576 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio.h
1,158 B
SET
[ EDIT ]
|
[ DEL ]
📄 host1x.h
5,798 B
SET
[ EDIT ]
|
[ DEL ]
📄 huge_memory.h
4,531 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c.h
4,254 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_mad.h
12,719 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_umad.h
4,095 B
SET
[ EDIT ]
|
[ DEL ]
📄 initcall.h
1,310 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-sst.h
2,571 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_ifs.h
860 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_iommu.h
2,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_ish.h
556 B
SET
[ EDIT ]
|
[ DEL ]
📄 io_uring.h
12,079 B
SET
[ EDIT ]
|
[ DEL ]
📄 iocost.h
5,044 B
SET
[ EDIT ]
|
[ DEL ]
📄 iommu.h
3,201 B
SET
[ EDIT ]
|
[ DEL ]
📄 ipi.h
2,956 B
SET
[ EDIT ]
|
[ DEL ]
📄 irq.h
3,889 B
SET
[ EDIT ]
|
[ DEL ]
📄 irq_matrix.h
5,055 B
SET
[ EDIT ]
|
[ DEL ]
📄 iscsi.h
2,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 jbd2.h
10,487 B
SET
[ EDIT ]
|
[ DEL ]
📄 kmem.h
7,811 B
SET
[ EDIT ]
|
[ DEL ]
📄 kvm.h
11,423 B
SET
[ EDIT ]
|
[ DEL ]
📄 kyber.h
2,435 B
SET
[ EDIT ]
|
[ DEL ]
📄 libata.h
11,812 B
SET
[ EDIT ]
|
[ DEL ]
📄 lock.h
1,737 B
SET
[ EDIT ]
|
[ DEL ]
📄 mce.h
1,897 B
SET
[ EDIT ]
|
[ DEL ]
📄 mdio.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 migrate.h
1,958 B
SET
[ EDIT ]
|
[ DEL ]
📄 mlxsw.h
2,682 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc.h
7,412 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmflags.h
8,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 module.h
2,851 B
SET
[ EDIT ]
|
[ DEL ]
📄 mptcp.h
4,374 B
SET
[ EDIT ]
|
[ DEL ]
📄 napi.h
1,013 B
SET
[ EDIT ]
|
[ DEL ]
📄 neigh.h
5,882 B
SET
[ EDIT ]
|
[ DEL ]
📄 net.h
7,210 B
SET
[ EDIT ]
|
[ DEL ]
📄 net_probe_common.h
1,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 netlink.h
490 B
SET
[ EDIT ]
|
[ DEL ]
📄 nfs.h
13,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 nilfs2.h
5,326 B
SET
[ EDIT ]
|
[ DEL ]
📄 nmi.h
780 B
SET
[ EDIT ]
|
[ DEL ]
📄 objagg.h
4,691 B
SET
[ EDIT ]
|
[ DEL ]
📄 oom.h
3,973 B
SET
[ EDIT ]
|
[ DEL ]
📄 osnoise.h
3,010 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_isolation.h
943 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_pool.h
2,650 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_ref.h
3,034 B
SET
[ EDIT ]
|
[ DEL ]
📄 pagemap.h
2,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 percpu.h
2,669 B
SET
[ EDIT ]
|
[ DEL ]
📄 power.h
12,169 B
SET
[ EDIT ]
|
[ DEL ]
📄 power_cpu_migrate.h
1,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 preemptirq.h
2,163 B
SET
[ EDIT ]
|
[ DEL ]
📄 printk.h
786 B
SET
[ EDIT ]
|
[ DEL ]
📄 pwc.h
1,714 B
SET
[ EDIT ]
|
[ DEL ]
📄 qdisc.h
3,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 qla.h
937 B
SET
[ EDIT ]
|
[ DEL ]
📄 qrtr.h
2,604 B
SET
[ EDIT ]
|
[ DEL ]
📄 random.h
7,621 B
SET
[ EDIT ]
|
[ DEL ]
📄 rcu.h
24,866 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma.h
4,337 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_core.h
7,193 B
SET
[ EDIT ]
|
[ DEL ]
📄 regulator.h
2,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpcgss.h
14,712 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpcrdma.h
50,120 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpm.h
2,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 rseq.h
1,288 B
SET
[ EDIT ]
|
[ DEL ]
📄 rtc.h
3,354 B
SET
[ EDIT ]
|
[ DEL ]
📄 rxrpc.h
41,684 B
SET
[ EDIT ]
|
[ DEL ]
📄 sched.h
15,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 scsi.h
12,614 B
SET
[ EDIT ]
|
[ DEL ]
📄 sctp.h
2,634 B
SET
[ EDIT ]
|
[ DEL ]
📄 signal.h
3,486 B
SET
[ EDIT ]
|
[ DEL ]
📄 siox.h
2,041 B
SET
[ EDIT ]
|
[ DEL ]
📄 skb.h
1,863 B
SET
[ EDIT ]
|
[ DEL ]
📄 smbus.h
7,715 B
SET
[ EDIT ]
|
[ DEL ]
📄 sock.h
4,547 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof.h
3,364 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof_intel.h
4,131 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi.h
3,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 spmi.h
3,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunrpc.h
56,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunrpc_base.h
474 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunvnet.h
3,129 B
SET
[ EDIT ]
|
[ DEL ]
📄 swiotlb.h
1,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 syscalls.h
1,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 target.h
7,697 B
SET
[ EDIT ]
|
[ DEL ]
📄 task.h
1,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 tcp.h
7,111 B
SET
[ EDIT ]
|
[ DEL ]
📄 thermal.h
5,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 thermal_power_allocator.h
3,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 thp.h
2,137 B
SET
[ EDIT ]
|
[ DEL ]
📄 timer.h
10,321 B
SET
[ EDIT ]
|
[ DEL ]
📄 tlb.h
1,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 udp.h
632 B
SET
[ EDIT ]
|
[ DEL ]
📄 ufs.h
7,670 B
SET
[ EDIT ]
|
[ DEL ]
📄 v4l2.h
9,018 B
SET
[ EDIT ]
|
[ DEL ]
📄 vb2.h
1,769 B
SET
[ EDIT ]
|
[ DEL ]
📄 vmscan.h
12,784 B
SET
[ EDIT ]
|
[ DEL ]
📄 vsock_virtio_transport_common.h
3,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 wbt.h
3,907 B
SET
[ EDIT ]
|
[ DEL ]
📄 workqueue.h
2,793 B
SET
[ EDIT ]
|
[ DEL ]
📄 writeback.h
23,341 B
SET
[ EDIT ]
|
[ DEL ]
📄 xdp.h
10,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 xen.h
14,889 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: power.h
/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM power #if !defined(_TRACE_POWER_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_POWER_H #include <linux/cpufreq.h> #include <linux/ktime.h> #include <linux/pm_qos.h> #include <linux/tracepoint.h> #include <linux/trace_events.h> #define TPS(x) tracepoint_string(x) DECLARE_EVENT_CLASS(cpu, TP_PROTO(unsigned int state, unsigned int cpu_id), TP_ARGS(state, cpu_id), TP_STRUCT__entry( __field( u32, state ) __field( u32, cpu_id ) ), TP_fast_assign( __entry->state = state; __entry->cpu_id = cpu_id; ), TP_printk("state=%lu cpu_id=%lu", (unsigned long)__entry->state, (unsigned long)__entry->cpu_id) ); DEFINE_EVENT(cpu, cpu_idle, TP_PROTO(unsigned int state, unsigned int cpu_id), TP_ARGS(state, cpu_id) ); TRACE_EVENT(cpu_idle_miss, TP_PROTO(unsigned int cpu_id, unsigned int state, bool below), TP_ARGS(cpu_id, state, below), TP_STRUCT__entry( __field(u32, cpu_id) __field(u32, state) __field(bool, below) ), TP_fast_assign( __entry->cpu_id = cpu_id; __entry->state = state; __entry->below = below; ), TP_printk("cpu_id=%lu state=%lu type=%s", (unsigned long)__entry->cpu_id, (unsigned long)__entry->state, (__entry->below)?"below":"above") ); TRACE_EVENT(powernv_throttle, TP_PROTO(int chip_id, const char *reason, int pmax), TP_ARGS(chip_id, reason, pmax), TP_STRUCT__entry( __field(int, chip_id) __string(reason, reason) __field(int, pmax) ), TP_fast_assign( __entry->chip_id = chip_id; __assign_str(reason, reason); __entry->pmax = pmax; ), TP_printk("Chip %d Pmax %d %s", __entry->chip_id, __entry->pmax, __get_str(reason)) ); TRACE_EVENT(pstate_sample, TP_PROTO(u32 core_busy, u32 scaled_busy, u32 from, u32 to, u64 mperf, u64 aperf, u64 tsc, u32 freq, u32 io_boost ), TP_ARGS(core_busy, scaled_busy, from, to, mperf, aperf, tsc, freq, io_boost ), TP_STRUCT__entry( __field(u32, core_busy) __field(u32, scaled_busy) __field(u32, from) __field(u32, to) __field(u64, mperf) __field(u64, aperf) __field(u64, tsc) __field(u32, freq) __field(u32, io_boost) ), TP_fast_assign( __entry->core_busy = core_busy; __entry->scaled_busy = scaled_busy; __entry->from = from; __entry->to = to; __entry->mperf = mperf; __entry->aperf = aperf; __entry->tsc = tsc; __entry->freq = freq; __entry->io_boost = io_boost; ), TP_printk("core_busy=%lu scaled=%lu from=%lu to=%lu mperf=%llu aperf=%llu tsc=%llu freq=%lu io_boost=%lu", (unsigned long)__entry->core_busy, (unsigned long)__entry->scaled_busy, (unsigned long)__entry->from, (unsigned long)__entry->to, (unsigned long long)__entry->mperf, (unsigned long long)__entry->aperf, (unsigned long long)__entry->tsc, (unsigned long)__entry->freq, (unsigned long)__entry->io_boost ) ); /* This file can get included multiple times, TRACE_HEADER_MULTI_READ at top */ #ifndef _PWR_EVENT_AVOID_DOUBLE_DEFINING #define _PWR_EVENT_AVOID_DOUBLE_DEFINING #define PWR_EVENT_EXIT -1 #endif #define pm_verb_symbolic(event) \ __print_symbolic(event, \ { PM_EVENT_SUSPEND, "suspend" }, \ { PM_EVENT_RESUME, "resume" }, \ { PM_EVENT_FREEZE, "freeze" }, \ { PM_EVENT_QUIESCE, "quiesce" }, \ { PM_EVENT_HIBERNATE, "hibernate" }, \ { PM_EVENT_THAW, "thaw" }, \ { PM_EVENT_RESTORE, "restore" }, \ { PM_EVENT_RECOVER, "recover" }) DEFINE_EVENT(cpu, cpu_frequency, TP_PROTO(unsigned int frequency, unsigned int cpu_id), TP_ARGS(frequency, cpu_id) ); TRACE_EVENT(cpu_frequency_limits, TP_PROTO(struct cpufreq_policy *policy), TP_ARGS(policy), TP_STRUCT__entry( __field(u32, min_freq) __field(u32, max_freq) __field(u32, cpu_id) ), TP_fast_assign( __entry->min_freq = policy->min; __entry->max_freq = policy->max; __entry->cpu_id = policy->cpu; ), TP_printk("min=%lu max=%lu cpu_id=%lu", (unsigned long)__entry->min_freq, (unsigned long)__entry->max_freq, (unsigned long)__entry->cpu_id) ); TRACE_EVENT(device_pm_callback_start, TP_PROTO(struct device *dev, const char *pm_ops, int event), TP_ARGS(dev, pm_ops, event), TP_STRUCT__entry( __string(device, dev_name(dev)) __string(driver, dev_driver_string(dev)) __string(parent, dev->parent ? dev_name(dev->parent) : "none") __string(pm_ops, pm_ops ? pm_ops : "none ") __field(int, event) ), TP_fast_assign( __assign_str(device, dev_name(dev)); __assign_str(driver, dev_driver_string(dev)); __assign_str(parent, dev->parent ? dev_name(dev->parent) : "none"); __assign_str(pm_ops, pm_ops ? pm_ops : "none "); __entry->event = event; ), TP_printk("%s %s, parent: %s, %s[%s]", __get_str(driver), __get_str(device), __get_str(parent), __get_str(pm_ops), pm_verb_symbolic(__entry->event)) ); TRACE_EVENT(device_pm_callback_end, TP_PROTO(struct device *dev, int error), TP_ARGS(dev, error), TP_STRUCT__entry( __string(device, dev_name(dev)) __string(driver, dev_driver_string(dev)) __field(int, error) ), TP_fast_assign( __assign_str(device, dev_name(dev)); __assign_str(driver, dev_driver_string(dev)); __entry->error = error; ), TP_printk("%s %s, err=%d", __get_str(driver), __get_str(device), __entry->error) ); TRACE_EVENT(suspend_resume, TP_PROTO(const char *action, int val, bool start), TP_ARGS(action, val, start), TP_STRUCT__entry( __field(const char *, action) __field(int, val) __field(bool, start) ), TP_fast_assign( __entry->action = action; __entry->val = val; __entry->start = start; ), TP_printk("%s[%u] %s", __entry->action, (unsigned int)__entry->val, (__entry->start)?"begin":"end") ); DECLARE_EVENT_CLASS(wakeup_source, TP_PROTO(const char *name, unsigned int state), TP_ARGS(name, state), TP_STRUCT__entry( __string( name, name ) __field( u64, state ) ), TP_fast_assign( __assign_str(name, name); __entry->state = state; ), TP_printk("%s state=0x%lx", __get_str(name), (unsigned long)__entry->state) ); DEFINE_EVENT(wakeup_source, wakeup_source_activate, TP_PROTO(const char *name, unsigned int state), TP_ARGS(name, state) ); DEFINE_EVENT(wakeup_source, wakeup_source_deactivate, TP_PROTO(const char *name, unsigned int state), TP_ARGS(name, state) ); /* * The clock events are used for clock enable/disable and for * clock rate change */ DECLARE_EVENT_CLASS(clock, TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), TP_ARGS(name, state, cpu_id), TP_STRUCT__entry( __string( name, name ) __field( u64, state ) __field( u64, cpu_id ) ), TP_fast_assign( __assign_str(name, name); __entry->state = state; __entry->cpu_id = cpu_id; ), TP_printk("%s state=%lu cpu_id=%lu", __get_str(name), (unsigned long)__entry->state, (unsigned long)__entry->cpu_id) ); DEFINE_EVENT(clock, clock_enable, TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), TP_ARGS(name, state, cpu_id) ); DEFINE_EVENT(clock, clock_disable, TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), TP_ARGS(name, state, cpu_id) ); DEFINE_EVENT(clock, clock_set_rate, TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), TP_ARGS(name, state, cpu_id) ); /* * The power domain events are used for power domains transitions */ DECLARE_EVENT_CLASS(power_domain, TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), TP_ARGS(name, state, cpu_id), TP_STRUCT__entry( __string( name, name ) __field( u64, state ) __field( u64, cpu_id ) ), TP_fast_assign( __assign_str(name, name); __entry->state = state; __entry->cpu_id = cpu_id; ), TP_printk("%s state=%lu cpu_id=%lu", __get_str(name), (unsigned long)__entry->state, (unsigned long)__entry->cpu_id) ); DEFINE_EVENT(power_domain, power_domain_target, TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id), TP_ARGS(name, state, cpu_id) ); /* * CPU latency QoS events used for global CPU latency QoS list updates */ DECLARE_EVENT_CLASS(cpu_latency_qos_request, TP_PROTO(s32 value), TP_ARGS(value), TP_STRUCT__entry( __field( s32, value ) ), TP_fast_assign( __entry->value = value; ), TP_printk("CPU_DMA_LATENCY value=%d", __entry->value) ); DEFINE_EVENT(cpu_latency_qos_request, pm_qos_add_request, TP_PROTO(s32 value), TP_ARGS(value) ); DEFINE_EVENT(cpu_latency_qos_request, pm_qos_update_request, TP_PROTO(s32 value), TP_ARGS(value) ); DEFINE_EVENT(cpu_latency_qos_request, pm_qos_remove_request, TP_PROTO(s32 value), TP_ARGS(value) ); /* * General PM QoS events used for updates of PM QoS request lists */ DECLARE_EVENT_CLASS(pm_qos_update, TP_PROTO(enum pm_qos_req_action action, int prev_value, int curr_value), TP_ARGS(action, prev_value, curr_value), TP_STRUCT__entry( __field( enum pm_qos_req_action, action ) __field( int, prev_value ) __field( int, curr_value ) ), TP_fast_assign( __entry->action = action; __entry->prev_value = prev_value; __entry->curr_value = curr_value; ), TP_printk("action=%s prev_value=%d curr_value=%d", __print_symbolic(__entry->action, { PM_QOS_ADD_REQ, "ADD_REQ" }, { PM_QOS_UPDATE_REQ, "UPDATE_REQ" }, { PM_QOS_REMOVE_REQ, "REMOVE_REQ" }), __entry->prev_value, __entry->curr_value) ); DEFINE_EVENT(pm_qos_update, pm_qos_update_target, TP_PROTO(enum pm_qos_req_action action, int prev_value, int curr_value), TP_ARGS(action, prev_value, curr_value) ); DEFINE_EVENT_PRINT(pm_qos_update, pm_qos_update_flags, TP_PROTO(enum pm_qos_req_action action, int prev_value, int curr_value), TP_ARGS(action, prev_value, curr_value), TP_printk("action=%s prev_value=0x%x curr_value=0x%x", __print_symbolic(__entry->action, { PM_QOS_ADD_REQ, "ADD_REQ" }, { PM_QOS_UPDATE_REQ, "UPDATE_REQ" }, { PM_QOS_REMOVE_REQ, "REMOVE_REQ" }), __entry->prev_value, __entry->curr_value) ); DECLARE_EVENT_CLASS(dev_pm_qos_request, TP_PROTO(const char *name, enum dev_pm_qos_req_type type, s32 new_value), TP_ARGS(name, type, new_value), TP_STRUCT__entry( __string( name, name ) __field( enum dev_pm_qos_req_type, type ) __field( s32, new_value ) ), TP_fast_assign( __assign_str(name, name); __entry->type = type; __entry->new_value = new_value; ), TP_printk("device=%s type=%s new_value=%d", __get_str(name), __print_symbolic(__entry->type, { DEV_PM_QOS_RESUME_LATENCY, "DEV_PM_QOS_RESUME_LATENCY" }, { DEV_PM_QOS_FLAGS, "DEV_PM_QOS_FLAGS" }), __entry->new_value) ); DEFINE_EVENT(dev_pm_qos_request, dev_pm_qos_add_request, TP_PROTO(const char *name, enum dev_pm_qos_req_type type, s32 new_value), TP_ARGS(name, type, new_value) ); DEFINE_EVENT(dev_pm_qos_request, dev_pm_qos_update_request, TP_PROTO(const char *name, enum dev_pm_qos_req_type type, s32 new_value), TP_ARGS(name, type, new_value) ); DEFINE_EVENT(dev_pm_qos_request, dev_pm_qos_remove_request, TP_PROTO(const char *name, enum dev_pm_qos_req_type type, s32 new_value), TP_ARGS(name, type, new_value) ); TRACE_EVENT(guest_halt_poll_ns, TP_PROTO(bool grow, unsigned int new, unsigned int old), TP_ARGS(grow, new, old), TP_STRUCT__entry( __field(bool, grow) __field(unsigned int, new) __field(unsigned int, old) ), TP_fast_assign( __entry->grow = grow; __entry->new = new; __entry->old = old; ), TP_printk("halt_poll_ns %u (%s %u)", __entry->new, __entry->grow ? "grow" : "shrink", __entry->old) ); #define trace_guest_halt_poll_ns_grow(new, old) \ trace_guest_halt_poll_ns(true, new, old) #define trace_guest_halt_poll_ns_shrink(new, old) \ trace_guest_halt_poll_ns(false, new, old) #endif /* _TRACE_POWER_H */ /* This part must be outside protection */ #include <trace/define_trace.h>