/kernel/linux/linux-5.10/include/linux/ |
D | trace_seq.h | 14 struct trace_seq { struct 21 trace_seq_init(struct trace_seq *s) in trace_seq_init() argument 40 static inline int trace_seq_used(struct trace_seq *s) in trace_seq_used() 55 trace_seq_buffer_ptr(struct trace_seq *s) in trace_seq_buffer_ptr() 67 static inline bool trace_seq_has_overflowed(struct trace_seq *s) in trace_seq_has_overflowed() 77 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...); 79 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args); 81 trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary); 82 extern int trace_print_seq(struct seq_file *m, struct trace_seq *s); 83 extern int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, [all …]
|
D | trace_events.h | 19 const char *trace_print_flags_seq(struct trace_seq *p, const char *delim, 23 const char *trace_print_symbols_seq(struct trace_seq *p, unsigned long val, 27 const char *trace_print_flags_seq_u64(struct trace_seq *p, const char *delim, 31 const char *trace_print_symbols_seq_u64(struct trace_seq *p, 37 const char *trace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr, 40 const char *trace_print_hex_seq(struct trace_seq *p, 44 const char *trace_print_array_seq(struct trace_seq *p, 49 trace_print_hex_dump_seq(struct trace_seq *p, const char *prefix_str, 92 struct trace_seq tmp_seq; 100 struct trace_seq seq; [all …]
|
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
D | trace-seq.h | 30 struct trace_seq { struct 38 void trace_seq_init(struct trace_seq *s); argument 39 void trace_seq_reset(struct trace_seq *s); 40 void trace_seq_destroy(struct trace_seq *s); 42 extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...) 44 extern int trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) 47 extern int trace_seq_puts(struct trace_seq *s, const char *str); 48 extern int trace_seq_putc(struct trace_seq *s, unsigned char c); 50 extern void trace_seq_terminate(struct trace_seq *s); 52 extern int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp); [all …]
|
D | trace-seq.c | 43 void trace_seq_init(struct trace_seq *s) in trace_seq_init() 59 void trace_seq_reset(struct trace_seq *s) in trace_seq_reset() 74 void trace_seq_destroy(struct trace_seq *s) in trace_seq_destroy() 83 static void expand_buffer(struct trace_seq *s) in expand_buffer() 113 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() 155 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf() 188 int trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts() 207 int trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc() 221 void trace_seq_terminate(struct trace_seq *s) in trace_seq_terminate() 229 int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp) in trace_seq_do_fprintf() [all …]
|
D | event-parse.h | 48 typedef int (*tep_event_handler_func)(struct trace_seq *s, 311 typedef unsigned long long (*tep_func_handler)(struct trace_seq *s, 407 void tep_plugin_print_options(struct trace_seq *s); 408 void tep_print_plugins(struct trace_seq *s, 459 void tep_print_event(struct tep_handle *tep, struct trace_seq *s, 473 void *tep_get_field_raw(struct trace_seq *s, struct tep_event *event, 477 int tep_get_field_val(struct trace_seq *s, struct tep_event *event, 480 int tep_get_common_field_val(struct trace_seq *s, struct tep_event *event, 483 int tep_get_any_field_val(struct trace_seq *s, struct tep_event *event, 487 int tep_print_num_field(struct trace_seq *s, const char *fmt, [all …]
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | trace.c | 10 static const char *nvme_trace_delete_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_sq() 21 static const char *nvme_trace_create_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_sq() 37 static const char *nvme_trace_delete_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_cq() 48 static const char *nvme_trace_create_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_cq() 63 static const char *nvme_trace_admin_identify(struct trace_seq *p, u8 *cdw10) in nvme_trace_admin_identify() 75 static const char *nvme_trace_admin_get_features(struct trace_seq *p, in nvme_trace_admin_get_features() 89 static const char *nvme_trace_get_lba_status(struct trace_seq *p, in nvme_trace_get_lba_status() 105 static const char *nvme_trace_read_write(struct trace_seq *p, u8 *cdw10) in nvme_trace_read_write() 122 static const char *nvme_trace_dsm(struct trace_seq *p, u8 *cdw10) in nvme_trace_dsm() 134 static const char *nvme_trace_common(struct trace_seq *p, u8 *cdw10) in nvme_trace_common() [all …]
|
D | trace.h | 19 const char *nvme_trace_parse_admin_cmd(struct trace_seq *p, u8 opcode, 21 const char *nvme_trace_parse_nvm_cmd(struct trace_seq *p, u8 opcode, 23 const char *nvme_trace_parse_fabrics_cmd(struct trace_seq *p, u8 fctype, 33 const char *nvme_trace_disk_name(struct trace_seq *p, char *name);
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | trace.c | 10 static const char *nvmet_trace_admin_identify(struct trace_seq *p, u8 *cdw10) in nvmet_trace_admin_identify() 22 static const char *nvmet_trace_admin_get_features(struct trace_seq *p, in nvmet_trace_admin_get_features() 36 static const char *nvmet_trace_get_lba_status(struct trace_seq *p, in nvmet_trace_get_lba_status() 52 static const char *nvmet_trace_read_write(struct trace_seq *p, u8 *cdw10) in nvmet_trace_read_write() 69 static const char *nvmet_trace_dsm(struct trace_seq *p, u8 *cdw10) in nvmet_trace_dsm() 81 static const char *nvmet_trace_common(struct trace_seq *p, u8 *cdw10) in nvmet_trace_common() 91 const char *nvmet_trace_parse_admin_cmd(struct trace_seq *p, in nvmet_trace_parse_admin_cmd() 106 const char *nvmet_trace_parse_nvm_cmd(struct trace_seq *p, in nvmet_trace_parse_nvm_cmd() 121 static const char *nvmet_trace_fabrics_property_set(struct trace_seq *p, in nvmet_trace_fabrics_property_set() 135 static const char *nvmet_trace_fabrics_connect(struct trace_seq *p, in nvmet_trace_fabrics_connect() [all …]
|
D | trace.h | 21 const char *nvmet_trace_parse_admin_cmd(struct trace_seq *p, u8 opcode, 23 const char *nvmet_trace_parse_nvm_cmd(struct trace_seq *p, u8 opcode, 25 const char *nvmet_trace_parse_fabrics_cmd(struct trace_seq *p, u8 fctype, 35 const char *nvmet_trace_ctrl_name(struct trace_seq *p, struct nvmet_ctrl *ctrl); 39 const char *nvmet_trace_disk_name(struct trace_seq *p, char *name);
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_seq.c | 36 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init() 51 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq() 81 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() 111 void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask() 141 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf() 175 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf() 205 void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts() 233 void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc() 259 void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem() 285 void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, in trace_seq_putmem_hex() [all …]
|
D | trace_output.c | 27 struct trace_seq *s = &iter->seq; in trace_print_bputs_msg_only() 40 struct trace_seq *s = &iter->seq; in trace_print_bprintk_msg_only() 53 struct trace_seq *s = &iter->seq; in trace_print_printk_msg_only() 65 trace_print_flags_seq(struct trace_seq *p, const char *delim, in trace_print_flags_seq() 103 trace_print_symbols_seq(struct trace_seq *p, unsigned long val, in trace_print_symbols_seq() 129 trace_print_flags_seq_u64(struct trace_seq *p, const char *delim, in trace_print_flags_seq_u64() 167 trace_print_symbols_seq_u64(struct trace_seq *p, unsigned long long val, in trace_print_symbols_seq_u64() 193 trace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr, in trace_print_bitmask_seq() 217 trace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len, in trace_print_hex_seq() 233 trace_print_array_seq(struct trace_seq *p, const void *buf, int count, in trace_print_array_seq() [all …]
|
D | trace_functions_graph.c | 95 struct trace_seq *s, u32 flags); 333 static void print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu() 345 static void print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc() 376 static void print_graph_lat_fmt(struct trace_seq *s, struct trace_entry *entry) in print_graph_lat_fmt() 385 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() 490 static void print_graph_abs_time(u64 t, struct trace_seq *s) in print_graph_abs_time() 502 print_graph_rel_time(struct trace_iterator *iter, struct trace_seq *s) in print_graph_rel_time() 517 struct trace_seq *s = &iter->seq; in print_graph_irq() 561 trace_print_graph_duration(unsigned long long duration, struct trace_seq *s) in trace_print_graph_duration() 595 struct trace_seq *s, u32 flags) in print_graph_duration() [all …]
|
D | trace_mmiotrace.c | 63 static void mmio_print_pcidev(struct trace_seq *s, const struct pci_dev *dev) in mmio_print_pcidev() 102 struct trace_seq *s = &iter->seq; in mmio_pipe_open() 138 struct trace_seq *s = &iter->seq; in mmio_read() 172 struct trace_seq *s = &iter->seq; in mmio_print_rw() 217 struct trace_seq *s = &iter->seq; in mmio_print_map() 251 struct trace_seq *s = &iter->seq; in mmio_print_mark()
|
D | trace_output.h | 16 seq_print_ip_sym(struct trace_seq *s, unsigned long ip, 29 trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry);
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_trace.c | 15 scsi_trace_misc(struct trace_seq *, unsigned char *, int); 18 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6() 37 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10() 57 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12() 73 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16() 94 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32() 135 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap() 147 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in() 177 scsi_trace_maintenance_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_maintenance_in() 223 scsi_trace_maintenance_out(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_maintenance_out() [all …]
|
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
D | plugin_scsi.c | 154 scsi_trace_misc(struct trace_seq *, unsigned char *, int); 157 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6() 174 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10() 198 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12() 220 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16() 250 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32() 304 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap() 315 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in() 355 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen() 369 scsi_trace_misc(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_misc() [all …]
|
D | plugin_sched_switch.c | 12 static void write_state(struct trace_seq *s, int val) in write_state() 35 struct trace_seq *s, int pid) in write_and_save_comm() 53 static int sched_wakeup_handler(struct trace_seq *s, in sched_wakeup_handler() 82 static int sched_switch_handler(struct trace_seq *s, in sched_switch_handler()
|
D | plugin_kvm.c | 255 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason() 276 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() 298 static int kvm_emulate_insn_handler(struct trace_seq *s, in kvm_emulate_insn_handler() 338 static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_inject_handler() 352 static int kvm_nested_vmexit_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_handler() 378 static int kvm_mmu_print_role(struct trace_seq *s, struct tep_record *record, in kvm_mmu_print_role() 424 static int kvm_mmu_get_page_handler(struct trace_seq *s, in kvm_mmu_get_page_handler() 446 process_is_writable_pte(struct trace_seq *s, unsigned long long *args) in process_is_writable_pte()
|
D | plugin_jbd2.c | 19 process_jbd2_dev_to_name(struct trace_seq *s, unsigned long long *args) in process_jbd2_dev_to_name() 28 process_jiffies_to_msecs(struct trace_seq *s, unsigned long long *args) in process_jiffies_to_msecs()
|
D | plugin_hrtimer.c | 13 static int timer_expire_handler(struct trace_seq *s, in timer_expire_handler() 33 static int timer_start_handler(struct trace_seq *s, in timer_start_handler()
|
D | plugin_function.c | 119 static void show_function(struct trace_seq *s, struct tep_handle *tep, in show_function() 131 static int function_handler(struct trace_seq *s, struct tep_record *record, in function_handler() 173 trace_stack_handler(struct trace_seq *s, struct tep_record *record, in trace_stack_handler() 211 trace_raw_data_handler(struct trace_seq *s, struct tep_record *record, in trace_raw_data_handler()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/Documentation/ |
D | libtraceevent-tseq.txt | 18 void *trace_seq_init*(struct trace_seq pass:[*]_s_); 19 void *trace_seq_destroy*(struct trace_seq pass:[*]_s_); 20 void *trace_seq_reset*(struct trace_seq pass:[*]_s_); 21 void *trace_seq_terminate*(struct trace_seq pass:[*]_s_); 22 int *trace_seq_putc*(struct trace_seq pass:[*]_s_, unsigned char _c_); 23 int *trace_seq_puts*(struct trace_seq pass:[*]_s_, const char pass:[*]_str_); 24 int *trace_seq_printf*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, _..._); 25 int *trace_seq_vprintf*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, va_list _args_); 26 int *trace_seq_do_printf*(struct trace_seq pass:[*]_s_); 27 int *trace_seq_do_fprintf*(struct trace_seq pass:[*]_s_, FILE pass:[*]_fp_); [all …]
|
D | libtraceevent.txt | 49 …void *tep_print_plugins*(struct trace_seq pass:[*]_s_, const char pass:[*]_prefix_, const char pas… 57 …void *tep_print_event*(struct tep_handle pass:[*]_tep_, struct trace_seq pass:[*]_s_, struct tep_r… 72 …void pass:[*]*tep_get_field_raw*(struct trace_seq pass:[*]_s_, struct tep_event pass:[*]_event_, c… 73 …int *tep_get_field_val*(struct trace_seq pass:[*]_s_, struct tep_event pass:[*]_event_, const char… 74 …int *tep_get_common_field_val*(struct trace_seq pass:[*]_s_, struct tep_event pass:[*]_event_, con… 75 …int *tep_get_any_field_val*(struct trace_seq pass:[*]_s_, struct tep_event pass:[*]_event_, const … 79 …void *tep_print_field*(struct trace_seq pass:[*]_s_, void pass:[*]_data_, struct tep_format_field … 80 …void *tep_print_fields*(struct trace_seq pass:[*]_s_, void pass:[*]_data_, int _size_, struct tep_… 81 …int *tep_print_num_field*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, struct tep_event… 82 …int *tep_print_func_field*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, struct tep_even… [all …]
|
D | libtraceevent-field_print.txt | 16 void *tep_print_field*(struct trace_seq pass:[*]_s_, void pass:[*]_data_, struct tep_format_field p… 17 void *tep_print_fields*(struct trace_seq pass:[*]_s_, void pass:[*]_data_, int _size_, struct tep_e… 18 int *tep_print_num_field*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, struct tep_event … 19 int *tep_print_func_field*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, struct tep_event… 66 struct trace_seq seq;
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | libata-trace.c | 14 libata_trace_parse_status(struct trace_seq *p, unsigned char status) in libata_trace_parse_status() 42 libata_trace_parse_eh_action(struct trace_seq *p, unsigned int eh_action) in libata_trace_parse_eh_action() 69 libata_trace_parse_eh_err_mask(struct trace_seq *p, unsigned int eh_err_mask) in libata_trace_parse_eh_err_mask() 106 libata_trace_parse_qc_flags(struct trace_seq *p, unsigned int qc_flags) in libata_trace_parse_qc_flags() 141 libata_trace_parse_subcmd(struct trace_seq *p, unsigned char cmd, in libata_trace_parse_subcmd()
|