Searched refs:trace_flags (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/kernel/trace/
H A Dtrace_kdb.c36 old_userobj = tr->trace_flags;
39 tr->trace_flags &= ~TRACE_ITER_SYM_USEROBJ;
87 tr->trace_flags = old_userobj;
H A Dtrace.c249 /* trace_flags holds trace_options default values */
275 .trace_flags = TRACE_DEFAULT_FLAGS,
550 if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) __trace_puts()
600 if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) __trace_bputs()
1884 if (!(tr->trace_flags & TRACE_ITER_STACKTRACE)) ftrace_trace_stack()
1928 if (!(global_trace.trace_flags & TRACE_ITER_USERSTACKTRACE)) ftrace_trace_userstack()
2245 if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) trace_array_printk()
2260 if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) trace_array_printk_buf()
2601 unsigned long sym_flags = (global_trace.trace_flags & TRACE_ITER_SYM_MASK); print_trace_header()
2665 if (!(tr->trace_flags & TRACE_ITER_ANNOTATE)) test_cpu_buff_start()
2690 unsigned long sym_flags = (tr->trace_flags & TRACE_ITER_SYM_MASK); print_trace_fmt()
2700 if (tr->trace_flags & TRACE_ITER_CONTEXT_INFO) { print_trace_fmt()
2727 if (tr->trace_flags & TRACE_ITER_CONTEXT_INFO) print_raw_fmt()
2753 if (tr->trace_flags & TRACE_ITER_CONTEXT_INFO) { print_hex_fmt()
2782 if (tr->trace_flags & TRACE_ITER_CONTEXT_INFO) { print_bin_fmt()
2832 unsigned long trace_flags = tr->trace_flags; print_trace_line() local
2849 trace_flags & TRACE_ITER_PRINTK && print_trace_line()
2850 trace_flags & TRACE_ITER_PRINTK_MSGONLY) print_trace_line()
2854 trace_flags & TRACE_ITER_PRINTK && print_trace_line()
2855 trace_flags & TRACE_ITER_PRINTK_MSGONLY) print_trace_line()
2859 trace_flags & TRACE_ITER_PRINTK && print_trace_line()
2860 trace_flags & TRACE_ITER_PRINTK_MSGONLY) print_trace_line()
2863 if (trace_flags & TRACE_ITER_BIN) print_trace_line()
2866 if (trace_flags & TRACE_ITER_HEX) print_trace_line()
2869 if (trace_flags & TRACE_ITER_RAW) print_trace_line()
2887 if (!(tr->trace_flags & TRACE_ITER_VERBOSE)) trace_latency_header()
2895 unsigned long trace_flags = tr->trace_flags; trace_default_header() local
2897 if (!(trace_flags & TRACE_ITER_CONTEXT_INFO)) trace_default_header()
2905 if (!(trace_flags & TRACE_ITER_VERBOSE)) trace_default_header()
2908 if (!(trace_flags & TRACE_ITER_VERBOSE)) { trace_default_header()
2909 if (trace_flags & TRACE_ITER_IRQ_INFO) trace_default_header()
3240 else if (tr->trace_flags & TRACE_ITER_LATENCY_FMT) tracing_open()
3487 if (tr->trace_flags & (1 << i)) tracing_trace_options_show()
3552 if (!!(tr->trace_flags & mask) == !!enabled) set_tracer_flag()
3561 tr->trace_flags |= mask; set_tracer_flag()
3563 tr->trace_flags &= ~mask; set_tracer_flag()
4602 if (tr->trace_flags & TRACE_ITER_LATENCY_FMT) tracing_open_pipe()
4665 if (tr->trace_flags & TRACE_ITER_BLOCK) trace_poll()
5085 if (tr->trace_flags & TRACE_ITER_STOP_ON_FREE) tracing_free_buffer_release()
5118 if (!(tr->trace_flags & TRACE_ITER_MARKERS)) tracing_mark_write()
6268 if (tr->trace_flags & (1 << index)) trace_options_core_read()
6531 rb_flags = tr->trace_flags & TRACE_ITER_OVERWRITE ? RB_FL_OVERWRITE : 0; allocate_trace_buffer()
6650 tr->trace_flags = global_trace.trace_flags; instance_mkdir()
7124 old_userobj = tr->trace_flags & TRACE_ITER_SYM_USEROBJ;
7127 tr->trace_flags &= ~TRACE_ITER_SYM_USEROBJ;
7190 tr->trace_flags |= old_userobj;
H A Dtrace_functions_graph.c663 if (tr->trace_flags & TRACE_ITER_CONTEXT_INFO) { print_graph_irq()
679 if (tr->trace_flags & TRACE_ITER_LATENCY_FMT) print_graph_irq()
733 !(tr->trace_flags & TRACE_ITER_CONTEXT_INFO)) print_graph_duration()
864 if (!(tr->trace_flags & TRACE_ITER_CONTEXT_INFO)) print_graph_prologue()
882 if (tr->trace_flags & TRACE_ITER_LATENCY_FMT) print_graph_prologue()
1099 unsigned long sym_flags = (tr->trace_flags & TRACE_ITER_SYM_MASK); print_graph_comment()
1256 int lat = tr->trace_flags & TRACE_ITER_LATENCY_FMT; __print_graph_headers_flags()
1300 if (!(tr->trace_flags & TRACE_ITER_CONTEXT_INFO)) print_graph_headers_flags()
1303 if (tr->trace_flags & TRACE_ITER_LATENCY_FMT) { print_graph_headers_flags()
H A Dtrace_irqsoff.c61 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH)
525 if (function_enabled || (!set && !(tr->trace_flags & TRACE_ITER_FUNCTION))) register_irqsoff_function()
619 save_flags = tr->trace_flags; __irqsoff_tracer_init()
H A Dtrace_output.c480 unsigned long verbose = tr->trace_flags & TRACE_ITER_VERBOSE; lat_print_timestamp()
535 if (tr->trace_flags & TRACE_ITER_IRQ_INFO) trace_print_context()
559 unsigned long verbose = (tr->trace_flags & TRACE_ITER_VERBOSE); trace_print_lat_context()
1051 if (tr->trace_flags & TRACE_ITER_SYM_USEROBJ) { trace_user_stack_print()
H A Dtrace_sched_wakeup.c42 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH)
134 if (function_enabled || (!set && !(tr->trace_flags & TRACE_ITER_FUNCTION))) register_wakeup_function()
666 save_flags = tr->trace_flags; __wakeup_tracer_init()
H A Dtrace.h235 unsigned int trace_flags; member in struct:trace_array
944 * positions into trace_flags that controls the output.
998 * TRACE_ITER_SYM_MASK masks the options in trace_flags that
1011 if (tr->trace_flags & TRACE_ITER_BRANCH) trace_branch_enable()
H A Dblktrace.c1352 long_act = !!(tr->trace_flags & TRACE_ITER_VERBOSE); print_one_line()
1414 tr->trace_flags &= ~TRACE_ITER_CONTEXT_INFO; blk_tracer_set_flag()
1416 tr->trace_flags |= TRACE_ITER_CONTEXT_INFO; blk_tracer_set_flag()
H A Dtrace_syscalls.c140 if (tr->trace_flags & TRACE_ITER_VERBOSE) print_syscall_enter()
H A Dtrace_events.c429 if (tr->trace_flags & TRACE_ITER_RECORD_CMD) { __ftrace_event_enable_disable()
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py66 trace_flags = { 0x00: "NONE", \
77 keys = trace_flags.keys()
87 string += trace_flags[idx]
71 0x10: "SOFTIRQ" } global() variable
/linux-4.4.14/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.pm24 my %trace_flags = (0x00 => "NONE",
39 foreach my $idx (sort {$a <=> $b} keys %trace_flags) {
49 $string .= "$trace_flags{$idx}";

Completed in 308 milliseconds