[ 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: libata.h
/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM libata #if !defined(_TRACE_LIBATA_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_LIBATA_H #include <linux/ata.h> #include <linux/libata.h> #include <linux/tracepoint.h> #include <linux/trace_seq.h> #define ata_opcode_name(opcode) { opcode, #opcode } #define show_opcode_name(val) \ __print_symbolic(val, \ ata_opcode_name(ATA_CMD_DEV_RESET), \ ata_opcode_name(ATA_CMD_CHK_POWER), \ ata_opcode_name(ATA_CMD_STANDBY), \ ata_opcode_name(ATA_CMD_IDLE), \ ata_opcode_name(ATA_CMD_EDD), \ ata_opcode_name(ATA_CMD_DOWNLOAD_MICRO), \ ata_opcode_name(ATA_CMD_DOWNLOAD_MICRO_DMA), \ ata_opcode_name(ATA_CMD_NOP), \ ata_opcode_name(ATA_CMD_FLUSH), \ ata_opcode_name(ATA_CMD_FLUSH_EXT), \ ata_opcode_name(ATA_CMD_ID_ATA), \ ata_opcode_name(ATA_CMD_ID_ATAPI), \ ata_opcode_name(ATA_CMD_SERVICE), \ ata_opcode_name(ATA_CMD_READ), \ ata_opcode_name(ATA_CMD_READ_EXT), \ ata_opcode_name(ATA_CMD_READ_QUEUED), \ ata_opcode_name(ATA_CMD_READ_STREAM_EXT), \ ata_opcode_name(ATA_CMD_READ_STREAM_DMA_EXT), \ ata_opcode_name(ATA_CMD_WRITE), \ ata_opcode_name(ATA_CMD_WRITE_EXT), \ ata_opcode_name(ATA_CMD_WRITE_QUEUED), \ ata_opcode_name(ATA_CMD_WRITE_STREAM_EXT), \ ata_opcode_name(ATA_CMD_WRITE_STREAM_DMA_EXT), \ ata_opcode_name(ATA_CMD_WRITE_FUA_EXT), \ ata_opcode_name(ATA_CMD_WRITE_QUEUED_FUA_EXT), \ ata_opcode_name(ATA_CMD_FPDMA_READ), \ ata_opcode_name(ATA_CMD_FPDMA_WRITE), \ ata_opcode_name(ATA_CMD_NCQ_NON_DATA), \ ata_opcode_name(ATA_CMD_FPDMA_SEND), \ ata_opcode_name(ATA_CMD_FPDMA_RECV), \ ata_opcode_name(ATA_CMD_PIO_READ), \ ata_opcode_name(ATA_CMD_PIO_READ_EXT), \ ata_opcode_name(ATA_CMD_PIO_WRITE), \ ata_opcode_name(ATA_CMD_PIO_WRITE_EXT), \ ata_opcode_name(ATA_CMD_READ_MULTI), \ ata_opcode_name(ATA_CMD_READ_MULTI_EXT), \ ata_opcode_name(ATA_CMD_WRITE_MULTI), \ ata_opcode_name(ATA_CMD_WRITE_MULTI_EXT), \ ata_opcode_name(ATA_CMD_WRITE_MULTI_FUA_EXT), \ ata_opcode_name(ATA_CMD_SET_FEATURES), \ ata_opcode_name(ATA_CMD_SET_MULTI), \ ata_opcode_name(ATA_CMD_PACKET), \ ata_opcode_name(ATA_CMD_VERIFY), \ ata_opcode_name(ATA_CMD_VERIFY_EXT), \ ata_opcode_name(ATA_CMD_WRITE_UNCORR_EXT), \ ata_opcode_name(ATA_CMD_STANDBYNOW1), \ ata_opcode_name(ATA_CMD_IDLEIMMEDIATE), \ ata_opcode_name(ATA_CMD_SLEEP), \ ata_opcode_name(ATA_CMD_INIT_DEV_PARAMS), \ ata_opcode_name(ATA_CMD_READ_NATIVE_MAX), \ ata_opcode_name(ATA_CMD_READ_NATIVE_MAX_EXT), \ ata_opcode_name(ATA_CMD_SET_MAX), \ ata_opcode_name(ATA_CMD_SET_MAX_EXT), \ ata_opcode_name(ATA_CMD_READ_LOG_EXT), \ ata_opcode_name(ATA_CMD_WRITE_LOG_EXT), \ ata_opcode_name(ATA_CMD_READ_LOG_DMA_EXT), \ ata_opcode_name(ATA_CMD_WRITE_LOG_DMA_EXT), \ ata_opcode_name(ATA_CMD_TRUSTED_NONDATA), \ ata_opcode_name(ATA_CMD_TRUSTED_RCV), \ ata_opcode_name(ATA_CMD_TRUSTED_RCV_DMA), \ ata_opcode_name(ATA_CMD_TRUSTED_SND), \ ata_opcode_name(ATA_CMD_TRUSTED_SND_DMA), \ ata_opcode_name(ATA_CMD_PMP_READ), \ ata_opcode_name(ATA_CMD_PMP_READ_DMA), \ ata_opcode_name(ATA_CMD_PMP_WRITE), \ ata_opcode_name(ATA_CMD_PMP_WRITE_DMA), \ ata_opcode_name(ATA_CMD_CONF_OVERLAY), \ ata_opcode_name(ATA_CMD_SEC_SET_PASS), \ ata_opcode_name(ATA_CMD_SEC_UNLOCK), \ ata_opcode_name(ATA_CMD_SEC_ERASE_PREP), \ ata_opcode_name(ATA_CMD_SEC_ERASE_UNIT), \ ata_opcode_name(ATA_CMD_SEC_FREEZE_LOCK), \ ata_opcode_name(ATA_CMD_SEC_DISABLE_PASS), \ ata_opcode_name(ATA_CMD_CONFIG_STREAM), \ ata_opcode_name(ATA_CMD_SMART), \ ata_opcode_name(ATA_CMD_MEDIA_LOCK), \ ata_opcode_name(ATA_CMD_MEDIA_UNLOCK), \ ata_opcode_name(ATA_CMD_DSM), \ ata_opcode_name(ATA_CMD_CHK_MED_CRD_TYP), \ ata_opcode_name(ATA_CMD_CFA_REQ_EXT_ERR), \ ata_opcode_name(ATA_CMD_CFA_WRITE_NE), \ ata_opcode_name(ATA_CMD_CFA_TRANS_SECT), \ ata_opcode_name(ATA_CMD_CFA_ERASE), \ ata_opcode_name(ATA_CMD_CFA_WRITE_MULT_NE), \ ata_opcode_name(ATA_CMD_REQ_SENSE_DATA), \ ata_opcode_name(ATA_CMD_SANITIZE_DEVICE), \ ata_opcode_name(ATA_CMD_ZAC_MGMT_IN), \ ata_opcode_name(ATA_CMD_ZAC_MGMT_OUT), \ ata_opcode_name(ATA_CMD_RESTORE), \ ata_opcode_name(ATA_CMD_READ_LONG), \ ata_opcode_name(ATA_CMD_READ_LONG_ONCE), \ ata_opcode_name(ATA_CMD_WRITE_LONG), \ ata_opcode_name(ATA_CMD_WRITE_LONG_ONCE)) #define ata_error_name(result) { result, #result } #define show_error_name(val) \ __print_symbolic(val, \ ata_error_name(ATA_ICRC), \ ata_error_name(ATA_UNC), \ ata_error_name(ATA_MC), \ ata_error_name(ATA_IDNF), \ ata_error_name(ATA_MCR), \ ata_error_name(ATA_ABORTED), \ ata_error_name(ATA_TRK0NF), \ ata_error_name(ATA_AMNF)) #define ata_protocol_name(proto) { proto, #proto } #define show_protocol_name(val) \ __print_symbolic(val, \ ata_protocol_name(ATA_PROT_UNKNOWN), \ ata_protocol_name(ATA_PROT_NODATA), \ ata_protocol_name(ATA_PROT_PIO), \ ata_protocol_name(ATA_PROT_DMA), \ ata_protocol_name(ATA_PROT_NCQ), \ ata_protocol_name(ATA_PROT_NCQ_NODATA), \ ata_protocol_name(ATAPI_PROT_NODATA), \ ata_protocol_name(ATAPI_PROT_PIO), \ ata_protocol_name(ATAPI_PROT_DMA)) const char *libata_trace_parse_status(struct trace_seq*, unsigned char); #define __parse_status(s) libata_trace_parse_status(p, s) const char *libata_trace_parse_eh_action(struct trace_seq *, unsigned int); #define __parse_eh_action(a) libata_trace_parse_eh_action(p, a) const char *libata_trace_parse_eh_err_mask(struct trace_seq *, unsigned int); #define __parse_eh_err_mask(m) libata_trace_parse_eh_err_mask(p, m) const char *libata_trace_parse_qc_flags(struct trace_seq *, unsigned int); #define __parse_qc_flags(f) libata_trace_parse_qc_flags(p, f) const char *libata_trace_parse_subcmd(struct trace_seq *, unsigned char, unsigned char, unsigned char); #define __parse_subcmd(c,f,h) libata_trace_parse_subcmd(p, c, f, h) TRACE_EVENT(ata_qc_issue, TP_PROTO(struct ata_queued_cmd *qc), TP_ARGS(qc), TP_STRUCT__entry( __field( unsigned int, ata_port ) __field( unsigned int, ata_dev ) __field( unsigned int, tag ) __field( unsigned char, cmd ) __field( unsigned char, dev ) __field( unsigned char, lbal ) __field( unsigned char, lbam ) __field( unsigned char, lbah ) __field( unsigned char, nsect ) __field( unsigned char, feature ) __field( unsigned char, hob_lbal ) __field( unsigned char, hob_lbam ) __field( unsigned char, hob_lbah ) __field( unsigned char, hob_nsect ) __field( unsigned char, hob_feature ) __field( unsigned char, ctl ) __field( unsigned char, proto ) __field( unsigned long, flags ) ), TP_fast_assign( __entry->ata_port = qc->ap->print_id; __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; __entry->tag = qc->tag; __entry->proto = qc->tf.protocol; __entry->cmd = qc->tf.command; __entry->dev = qc->tf.device; __entry->lbal = qc->tf.lbal; __entry->lbam = qc->tf.lbam; __entry->lbah = qc->tf.lbah; __entry->hob_lbal = qc->tf.hob_lbal; __entry->hob_lbam = qc->tf.hob_lbam; __entry->hob_lbah = qc->tf.hob_lbah; __entry->feature = qc->tf.feature; __entry->hob_feature = qc->tf.hob_feature; __entry->nsect = qc->tf.nsect; __entry->hob_nsect = qc->tf.hob_nsect; ), TP_printk("ata_port=%u ata_dev=%u tag=%d proto=%s cmd=%s%s " \ " tf=(%02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x)", __entry->ata_port, __entry->ata_dev, __entry->tag, show_protocol_name(__entry->proto), show_opcode_name(__entry->cmd), __parse_subcmd(__entry->cmd, __entry->feature, __entry->hob_nsect), __entry->cmd, __entry->feature, __entry->nsect, __entry->lbal, __entry->lbam, __entry->lbah, __entry->hob_feature, __entry->hob_nsect, __entry->hob_lbal, __entry->hob_lbam, __entry->hob_lbah, __entry->dev) ); DECLARE_EVENT_CLASS(ata_qc_complete_template, TP_PROTO(struct ata_queued_cmd *qc), TP_ARGS(qc), TP_STRUCT__entry( __field( unsigned int, ata_port ) __field( unsigned int, ata_dev ) __field( unsigned int, tag ) __field( unsigned char, status ) __field( unsigned char, dev ) __field( unsigned char, lbal ) __field( unsigned char, lbam ) __field( unsigned char, lbah ) __field( unsigned char, nsect ) __field( unsigned char, error ) __field( unsigned char, hob_lbal ) __field( unsigned char, hob_lbam ) __field( unsigned char, hob_lbah ) __field( unsigned char, hob_nsect ) __field( unsigned char, hob_feature ) __field( unsigned char, ctl ) __field( unsigned long, flags ) ), TP_fast_assign( __entry->ata_port = qc->ap->print_id; __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; __entry->tag = qc->tag; __entry->status = qc->result_tf.command; __entry->dev = qc->result_tf.device; __entry->lbal = qc->result_tf.lbal; __entry->lbam = qc->result_tf.lbam; __entry->lbah = qc->result_tf.lbah; __entry->hob_lbal = qc->result_tf.hob_lbal; __entry->hob_lbam = qc->result_tf.hob_lbam; __entry->hob_lbah = qc->result_tf.hob_lbah; __entry->error = qc->result_tf.feature; __entry->hob_feature = qc->result_tf.hob_feature; __entry->nsect = qc->result_tf.nsect; __entry->hob_nsect = qc->result_tf.hob_nsect; ), TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \ " res=(%02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x)", __entry->ata_port, __entry->ata_dev, __entry->tag, __parse_qc_flags(__entry->flags), __parse_status(__entry->status), __entry->status, __entry->error, __entry->nsect, __entry->lbal, __entry->lbam, __entry->lbah, __entry->hob_feature, __entry->hob_nsect, __entry->hob_lbal, __entry->hob_lbam, __entry->hob_lbah, __entry->dev) ); DEFINE_EVENT(ata_qc_complete_template, ata_qc_complete_internal, TP_PROTO(struct ata_queued_cmd *qc), TP_ARGS(qc)); DEFINE_EVENT(ata_qc_complete_template, ata_qc_complete_failed, TP_PROTO(struct ata_queued_cmd *qc), TP_ARGS(qc)); DEFINE_EVENT(ata_qc_complete_template, ata_qc_complete_done, TP_PROTO(struct ata_queued_cmd *qc), TP_ARGS(qc)); TRACE_EVENT(ata_eh_link_autopsy, TP_PROTO(struct ata_device *dev, unsigned int eh_action, unsigned int eh_err_mask), TP_ARGS(dev, eh_action, eh_err_mask), TP_STRUCT__entry( __field( unsigned int, ata_port ) __field( unsigned int, ata_dev ) __field( unsigned int, eh_action ) __field( unsigned int, eh_err_mask) ), TP_fast_assign( __entry->ata_port = dev->link->ap->print_id; __entry->ata_dev = dev->link->pmp + dev->devno; __entry->eh_action = eh_action; __entry->eh_err_mask = eh_err_mask; ), TP_printk("ata_port=%u ata_dev=%u eh_action=%s err_mask=%s", __entry->ata_port, __entry->ata_dev, __parse_eh_action(__entry->eh_action), __parse_eh_err_mask(__entry->eh_err_mask)) ); TRACE_EVENT(ata_eh_link_autopsy_qc, TP_PROTO(struct ata_queued_cmd *qc), TP_ARGS(qc), TP_STRUCT__entry( __field( unsigned int, ata_port ) __field( unsigned int, ata_dev ) __field( unsigned int, tag ) __field( unsigned int, qc_flags ) __field( unsigned int, eh_err_mask) ), TP_fast_assign( __entry->ata_port = qc->ap->print_id; __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; __entry->tag = qc->tag; __entry->qc_flags = qc->flags; __entry->eh_err_mask = qc->err_mask; ), TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s err_mask=%s", __entry->ata_port, __entry->ata_dev, __entry->tag, __parse_qc_flags(__entry->qc_flags), __parse_eh_err_mask(__entry->eh_err_mask)) ); #endif /* _TRACE_LIBATA_H */ /* This part must be outside protection */ #include <trace/define_trace.h>