Home
last modified time | relevance | path

Searched refs:trace_seq (Results 1 – 43 of 43) sorted by relevance

/linux-4.1.27/include/linux/
Dtrace_seq.h13 struct trace_seq { struct
20 trace_seq_init(struct trace_seq *s) in trace_seq_init() argument
39 static inline int trace_seq_used(struct trace_seq *s) in trace_seq_used()
54 trace_seq_buffer_ptr(struct trace_seq *s) in trace_seq_buffer_ptr()
66 static inline bool trace_seq_has_overflowed(struct trace_seq *s) in trace_seq_has_overflowed()
76 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...);
78 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args);
80 trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary);
81 extern int trace_print_seq(struct seq_file *m, struct trace_seq *s);
82 extern int trace_seq_to_user(struct trace_seq *s, char __user *ubuf,
[all …]
Dftrace_event.h28 const char *ftrace_print_flags_seq(struct trace_seq *p, const char *delim,
32 const char *ftrace_print_symbols_seq(struct trace_seq *p, unsigned long val,
36 const char *ftrace_print_symbols_seq_u64(struct trace_seq *p,
42 const char *ftrace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr,
45 const char *ftrace_print_hex_seq(struct trace_seq *p,
48 const char *ftrace_print_array_seq(struct trace_seq *p,
89 struct trace_seq tmp_seq;
97 struct trace_seq seq;
151 static inline enum print_line_t trace_handle_return(struct trace_seq *s) in trace_handle_return()
Dring_buffer.h192 struct trace_seq;
194 int ring_buffer_print_entry_header(struct trace_seq *s);
195 int ring_buffer_print_page_header(struct trace_seq *s);
Dcper.h450 const char *cper_mem_err_unpack(struct trace_seq *,
/linux-4.1.27/kernel/trace/
Dtrace_seq.c38 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init()
53 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq()
83 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
113 void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask()
143 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
177 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf()
207 void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
235 void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc()
261 void trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem()
287 void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, in trace_seq_putmem_hex()
[all …]
Dtrace_output.c25 struct trace_seq *s = &iter->seq; in trace_print_bputs_msg_only()
38 struct trace_seq *s = &iter->seq; in trace_print_bprintk_msg_only()
51 struct trace_seq *s = &iter->seq; in trace_print_printk_msg_only()
63 ftrace_print_flags_seq(struct trace_seq *p, const char *delim, in ftrace_print_flags_seq()
101 ftrace_print_symbols_seq(struct trace_seq *p, unsigned long val, in ftrace_print_symbols_seq()
127 ftrace_print_symbols_seq_u64(struct trace_seq *p, unsigned long long val, in ftrace_print_symbols_seq_u64()
153 ftrace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr, in ftrace_print_bitmask_seq()
166 ftrace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len) in ftrace_print_hex_seq()
181 ftrace_print_array_seq(struct trace_seq *p, const void *buf, int count, in ftrace_print_array_seq()
229 struct trace_seq *s = &iter->seq; in ftrace_raw_output_prep()
[all …]
Dtrace_output.h15 seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
18 struct trace_seq *s, unsigned long sym_flags);
19 extern int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm,
32 trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry);
Dtrace_functions_graph.c110 print_graph_duration(unsigned long long duration, struct trace_seq *s,
485 static void print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu()
497 static void print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc()
528 static void print_graph_lat_fmt(struct trace_seq *s, struct trace_entry *entry) in print_graph_lat_fmt()
536 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid()
641 static void print_graph_abs_time(u64 t, struct trace_seq *s) in print_graph_abs_time()
656 struct trace_seq *s = &iter->seq; in print_graph_irq()
696 trace_print_graph_duration(unsigned long long duration, struct trace_seq *s) in trace_print_graph_duration()
729 print_graph_duration(unsigned long long duration, struct trace_seq *s, in print_graph_duration()
764 struct trace_seq *s, u32 flags) in print_graph_entry_leaf()
[all …]
Dtrace_mmiotrace.c62 static void mmio_print_pcidev(struct trace_seq *s, const struct pci_dev *dev) in mmio_print_pcidev()
105 struct trace_seq *s = &iter->seq; in mmio_pipe_open()
141 struct trace_seq *s = &iter->seq; in mmio_read()
175 struct trace_seq *s = &iter->seq; in mmio_print_rw()
220 struct trace_seq *s = &iter->seq; in mmio_print_map()
254 struct trace_seq *s = &iter->seq; in mmio_print_mark()
Dblktrace.c1173 static void blk_log_dump_pdu(struct trace_seq *s, const struct trace_entry *ent) in blk_log_dump_pdu()
1211 static void blk_log_generic(struct trace_seq *s, const struct trace_entry *ent) in blk_log_generic()
1230 static void blk_log_with_error(struct trace_seq *s, in blk_log_with_error()
1247 static void blk_log_remap(struct trace_seq *s, const struct trace_entry *ent) in blk_log_remap()
1258 static void blk_log_plug(struct trace_seq *s, const struct trace_entry *ent) in blk_log_plug()
1267 static void blk_log_unplug(struct trace_seq *s, const struct trace_entry *ent) in blk_log_unplug()
1276 static void blk_log_split(struct trace_seq *s, const struct trace_entry *ent) in blk_log_split()
1286 static void blk_log_msg(struct trace_seq *s, const struct trace_entry *ent) in blk_log_msg()
1330 void (*print)(struct trace_seq *s, const struct trace_entry *ent);
1352 struct trace_seq *s = &iter->seq; in print_one_line()
[all …]
Dtrace_probe.h98 typedef int (*print_type_func_t)(struct trace_seq *, const char *, void *, void *);
139 int PRINT_TYPE_FUNC_NAME(type)(struct trace_seq *s, const char *name, \
DMakefile31 obj-$(CONFIG_TRACING) += trace_seq.o
Dtrace.h707 void trace_printk_seq(struct trace_seq *s);
733 trace_print_graph_duration(unsigned long long duration, struct trace_seq *s);
1057 struct trace_seq *s);
1063 struct trace_seq *s);
Dtrace_syscalls.c113 struct trace_seq *s = &iter->seq; in print_syscall_enter()
159 struct trace_seq *s = &iter->seq; in print_syscall_exit()
Dtrace_probe.c40 int PRINT_TYPE_FUNC_NAME(type)(struct trace_seq *s, const char *name, \
59 int PRINT_TYPE_FUNC_NAME(string)(struct trace_seq *s, const char *name, in PRINT_TYPE_FUNC_NAME()
Dtrace_events.c1067 struct trace_seq *s; in event_filter_read()
1241 struct trace_seq *s; in subsystem_filter_read()
1296 int (*func)(struct trace_seq *s) = filp->private_data; in show_header()
1297 struct trace_seq *s; in show_header()
Dtrace.c992 static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) in trace_seq_to_buffer()
2665 struct trace_seq *s = &iter->seq; in test_cpu_buff_start()
2689 struct trace_seq *s = &iter->seq; in print_trace_fmt()
2720 struct trace_seq *s = &iter->seq; in print_raw_fmt()
2744 struct trace_seq *s = &iter->seq; in print_hex_fmt()
2773 struct trace_seq *s = &iter->seq; in print_bin_fmt()
5838 struct trace_seq *s; in tracing_stats_read()
6923 trace_printk_seq(struct trace_seq *s) in trace_printk_seq()
Dtrace_kprobe.c1020 struct trace_seq *s = &iter->seq; in print_kprobe_event()
1051 struct trace_seq *s = &iter->seq; in print_kretprobe_event()
Dtrace_events_filter.c655 void print_event_filter(struct ftrace_event_file *file, struct trace_seq *s) in print_event_filter()
666 struct trace_seq *s) in print_subsystem_event_filter()
Dtrace_uprobe.c846 struct trace_seq *s = &iter->seq; in print_uprobe_event()
Dring_buffer.c33 int ring_buffer_print_entry_header(struct trace_seq *s) in ring_buffer_print_entry_header()
415 int ring_buffer_print_page_header(struct trace_seq *s) in ring_buffer_print_page_header()
Dftrace.c621 static struct trace_seq s; in function_stat_show()
/linux-4.1.27/tools/lib/traceevent/
Dtrace-seq.c55 void trace_seq_init(struct trace_seq *s) in trace_seq_init()
71 void trace_seq_reset(struct trace_seq *s) in trace_seq_reset()
86 void trace_seq_destroy(struct trace_seq *s) in trace_seq_destroy()
95 static void expand_buffer(struct trace_seq *s) in expand_buffer()
124 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
161 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
193 int trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
212 int trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc()
226 void trace_seq_terminate(struct trace_seq *s) in trace_seq_terminate()
234 int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp) in trace_seq_do_fprintf()
[all …]
Devent-parse.h73 struct trace_seq { struct
81 void trace_seq_init(struct trace_seq *s); argument
82 void trace_seq_reset(struct trace_seq *s);
83 void trace_seq_destroy(struct trace_seq *s);
85 extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...)
87 extern int trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args)
90 extern int trace_seq_puts(struct trace_seq *s, const char *str);
91 extern int trace_seq_putc(struct trace_seq *s, unsigned char c);
93 extern void trace_seq_terminate(struct trace_seq *s);
95 extern int trace_seq_do_fprintf(struct trace_seq *s, FILE *fp);
[all …]
Dplugin_scsi.c152 scsi_trace_misc(struct trace_seq *, unsigned char *, int);
155 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6()
172 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10()
196 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12()
218 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16()
248 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32()
302 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap()
313 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in()
353 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen()
367 scsi_trace_misc(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_misc()
[all …]
Dplugin_sched_switch.c26 static void write_state(struct trace_seq *s, int val) in write_state()
49 struct trace_seq *s, int pid) in write_and_save_comm()
67 static int sched_wakeup_handler(struct trace_seq *s, in sched_wakeup_handler()
96 static int sched_switch_handler(struct trace_seq *s, in sched_switch_handler()
Dplugin_kvm.c247 static int print_exit_reason(struct trace_seq *s, struct pevent_record *record, in print_exit_reason()
268 static int kvm_exit_handler(struct trace_seq *s, struct pevent_record *record, in kvm_exit_handler()
290 static int kvm_emulate_insn_handler(struct trace_seq *s, in kvm_emulate_insn_handler()
330 static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct pevent_record *record, in kvm_nested_vmexit_inject_handler()
344 static int kvm_nested_vmexit_handler(struct trace_seq *s, struct pevent_record *record, in kvm_nested_vmexit_handler()
367 static int kvm_mmu_print_role(struct trace_seq *s, struct pevent_record *record, in kvm_mmu_print_role()
410 static int kvm_mmu_get_page_handler(struct trace_seq *s, in kvm_mmu_get_page_handler()
432 process_is_writable_pte(struct trace_seq *s, unsigned long long *args) in process_is_writable_pte()
Dplugin_jbd2.c33 process_jbd2_dev_to_name(struct trace_seq *s, unsigned long long *args) in process_jbd2_dev_to_name()
42 process_jiffies_to_msecs(struct trace_seq *s, unsigned long long *args) in process_jiffies_to_msecs()
Dplugin_hrtimer.c27 static int timer_expire_handler(struct trace_seq *s, in timer_expire_handler()
47 static int timer_start_handler(struct trace_seq *s, in timer_start_handler()
Dplugin_mac80211.c28 static void print_string(struct trace_seq *s, struct event_format *event, in print_string()
60 static int drv_bss_info_changed(struct trace_seq *s, in drv_bss_info_changed()
Dplugin_cfg80211.c8 process___le16_to_cpup(struct trace_seq *s, unsigned long long *args) in process___le16_to_cpup()
Devent-parse.c107 process_defined_func(struct trace_seq *s, void *data, int size,
3431 struct trace_seq s; in eval_num_arg()
3652 static void print_str_to_seq(struct trace_seq *s, const char *format, in print_str_to_seq()
3662 struct trace_seq *s, const char *format, in print_bitmask_to_seq()
3715 static void print_str_arg(struct trace_seq *s, void *data, int size, in print_str_arg()
3962 process_defined_func(struct trace_seq *s, void *data, int size, in process_defined_func()
3970 struct trace_seq str; in process_defined_func()
4248 static void print_mac_arg(struct trace_seq *s, int mac, void *data, int size, in print_mac_arg()
4284 static void print_ip4_addr(struct trace_seq *s, char i, unsigned char *buf) in print_ip4_addr()
4307 static void print_ip6c_addr(struct trace_seq *s, unsigned char *addr) in print_ip6c_addr()
[all …]
Dplugin_kmem.c26 static int call_site_handler(struct trace_seq *s, struct pevent_record *record, in call_site_handler()
Dplugin_xen.c112 unsigned long long process_xen_hypercall_name(struct trace_seq *s, in process_xen_hypercall_name()
Dplugin_function.c125 static int function_handler(struct trace_seq *s, struct pevent_record *record, in function_handler()
Devent-plugin.c273 void traceevent_print_plugins(struct trace_seq *s, in traceevent_print_plugins()
/linux-4.1.27/drivers/scsi/
Dscsi_trace.c26 scsi_trace_misc(struct trace_seq *, unsigned char *, int);
29 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6()
47 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10()
72 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12()
95 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16()
126 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32()
181 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap()
193 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in()
234 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen()
248 scsi_trace_misc(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_misc()
[all …]
/linux-4.1.27/drivers/ata/
Dlibata-trace.c27 libata_trace_parse_status(struct trace_seq *p, unsigned char status) in libata_trace_parse_status()
55 libata_trace_parse_eh_action(struct trace_seq *p, unsigned int eh_action) in libata_trace_parse_eh_action()
82 libata_trace_parse_eh_err_mask(struct trace_seq *p, unsigned int eh_err_mask) in libata_trace_parse_eh_err_mask()
119 libata_trace_parse_qc_flags(struct trace_seq *p, unsigned int qc_flags) in libata_trace_parse_qc_flags()
/linux-4.1.27/include/trace/events/
Dlibata.h130 const char *libata_trace_parse_status(struct trace_seq*, unsigned char);
133 const char *libata_trace_parse_eh_action(struct trace_seq *, unsigned int);
136 const char *libata_trace_parse_eh_err_mask(struct trace_seq *, unsigned int);
139 const char *libata_trace_parse_qc_flags(struct trace_seq *, unsigned int);
Dscsi.h198 const char *scsi_trace_parse_cdb(struct trace_seq*, unsigned char*, int);
/linux-4.1.27/include/trace/
Dftrace.h310 struct trace_seq *s = &iter->seq; \
311 struct trace_seq __maybe_unused *p = &iter->tmp_seq; \
337 struct trace_seq *p = &iter->tmp_seq; \
/linux-4.1.27/tools/perf/util/
Dtrace-event-parse.c119 struct trace_seq s; in event_format__fprintf()
/linux-4.1.27/drivers/firmware/efi/
Dcper.c294 const char *cper_mem_err_unpack(struct trace_seq *p, in cper_mem_err_unpack()