global_trace 271 kernel/trace/trace.c static struct trace_array global_trace = { global_trace 607 kernel/trace/trace.c return buffer_ftrace_now(&global_trace.trace_buffer, cpu); global_trace 627 kernel/trace/trace.c return !global_trace.buffer_disabled; global_trace 807 kernel/trace/trace.c tracer_tracing_on(&global_trace); global_trace 842 kernel/trace/trace.c if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) global_trace 853 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; global_trace 872 kernel/trace/trace.c ftrace_trace_stack(&global_trace, buffer, irq_flags, 4, pc, NULL); global_trace 892 kernel/trace/trace.c if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) global_trace 901 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; global_trace 912 kernel/trace/trace.c ftrace_trace_stack(&global_trace, buffer, irq_flags, 4, pc, NULL); global_trace 970 kernel/trace/trace.c struct trace_array *tr = &global_trace; global_trace 1071 kernel/trace/trace.c struct trace_array *tr = &global_trace; global_trace 1264 kernel/trace/trace.c tracer_tracing_off(&global_trace); global_trace 1292 kernel/trace/trace.c return tracer_tracing_is_on(&global_trace); global_trace 1666 kernel/trace/trace.c struct trace_array *tr = &global_trace; global_trace 1853 kernel/trace/trace.c add_tracer_options(&global_trace, type); global_trace 1867 kernel/trace/trace.c tracing_set_tracer(&global_trace, type->name); global_trace 2008 kernel/trace/trace.c return global_trace.stop_count; global_trace 2025 kernel/trace/trace.c raw_spin_lock_irqsave(&global_trace.start_lock, flags); global_trace 2026 kernel/trace/trace.c if (--global_trace.stop_count) { global_trace 2027 kernel/trace/trace.c if (global_trace.stop_count < 0) { global_trace 2030 kernel/trace/trace.c global_trace.stop_count = 0; global_trace 2036 kernel/trace/trace.c arch_spin_lock(&global_trace.max_lock); global_trace 2038 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; global_trace 2043 kernel/trace/trace.c buffer = global_trace.max_buffer.buffer; global_trace 2048 kernel/trace/trace.c arch_spin_unlock(&global_trace.max_lock); global_trace 2051 kernel/trace/trace.c raw_spin_unlock_irqrestore(&global_trace.start_lock, flags); global_trace 2096 kernel/trace/trace.c raw_spin_lock_irqsave(&global_trace.start_lock, flags); global_trace 2097 kernel/trace/trace.c if (global_trace.stop_count++) global_trace 2101 kernel/trace/trace.c arch_spin_lock(&global_trace.max_lock); global_trace 2103 kernel/trace/trace.c buffer = global_trace.trace_buffer.buffer; global_trace 2108 kernel/trace/trace.c buffer = global_trace.max_buffer.buffer; global_trace 2113 kernel/trace/trace.c arch_spin_unlock(&global_trace.max_lock); global_trace 2116 kernel/trace/trace.c raw_spin_unlock_irqrestore(&global_trace.start_lock, flags); global_trace 2930 kernel/trace/trace.c __ftrace_trace_stack(global_trace.trace_buffer.buffer, global_trace 2945 kernel/trace/trace.c if (!(global_trace.trace_flags & TRACE_ITER_USERSTACKTRACE)) global_trace 3075 kernel/trace/trace.c if (global_trace.trace_buffer.buffer) global_trace 3110 kernel/trace/trace.c struct trace_array *tr = &global_trace; global_trace 3206 kernel/trace/trace.c ftrace_trace_stack(&global_trace, buffer, flags, 6, pc, NULL); global_trace 3233 kernel/trace/trace.c if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) global_trace 3250 kernel/trace/trace.c if (!(global_trace.trace_flags & TRACE_ITER_PRINTK)) global_trace 3262 kernel/trace/trace.c return trace_array_vprintk(&global_trace, ip, fmt, args); global_trace 3563 kernel/trace/trace.c tr = &global_trace; global_trace 3575 kernel/trace/trace.c tr = &global_trace; global_trace 3637 kernel/trace/trace.c unsigned long sym_flags = (global_trace.trace_flags & TRACE_ITER_SYM_MASK); global_trace 4707 kernel/trace/trace.c trace_set_options(&global_trace, option); global_trace 5598 kernel/trace/trace.c ret = __tracing_resize_ring_buffer(&global_trace, trace_buf_size, global_trace 7060 kernel/trace/trace.c tr = &global_trace; global_trace 8146 kernel/trace/trace.c bool top_level = tr == &global_trace; global_trace 8409 kernel/trace/trace.c tr->trace_flags = global_trace.trace_flags & ~ZEROED_TRACE_FLAGS; global_trace 8669 kernel/trace/trace.c struct trace_array *tr = &global_trace; global_trace 8791 kernel/trace/trace.c init_tracer_tracefs(&global_trace, d_tracer); global_trace 8792 kernel/trace/trace.c ftrace_init_tracefs_toplevel(&global_trace, d_tracer); global_trace 8795 kernel/trace/trace.c &global_trace, &tracing_thresh_fops); global_trace 8824 kernel/trace/trace.c update_tracer_options(&global_trace); global_trace 8901 kernel/trace/trace.c iter->tr = &global_trace; global_trace 8904 kernel/trace/trace.c iter->trace_buffer = &global_trace.trace_buffer; global_trace 8923 kernel/trace/trace.c struct trace_array *tr = &global_trace; global_trace 9133 kernel/trace/trace.c if (!alloc_cpumask_var(&global_trace.tracing_cpumask, GFP_KERNEL)) global_trace 9148 kernel/trace/trace.c cpumask_copy(global_trace.tracing_cpumask, cpu_all_mask); global_trace 9150 kernel/trace/trace.c raw_spin_lock_init(&global_trace.start_lock); global_trace 9173 kernel/trace/trace.c if (allocate_trace_buffers(&global_trace, ring_buf_size) < 0) { global_trace 9179 kernel/trace/trace.c if (global_trace.buffer_disabled) global_trace 9183 kernel/trace/trace.c ret = tracing_set_clock(&global_trace, trace_boot_clock); global_trace 9194 kernel/trace/trace.c global_trace.current_trace = &nop_trace; global_trace 9196 kernel/trace/trace.c global_trace.max_lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; global_trace 9198 kernel/trace/trace.c ftrace_init_global_array_ops(&global_trace); global_trace 9200 kernel/trace/trace.c init_trace_flags_index(&global_trace); global_trace 9215 kernel/trace/trace.c global_trace.flags = TRACE_ARRAY_FL_GLOBAL; global_trace 9217 kernel/trace/trace.c INIT_LIST_HEAD(&global_trace.systems); global_trace 9218 kernel/trace/trace.c INIT_LIST_HEAD(&global_trace.events); global_trace 9219 kernel/trace/trace.c INIT_LIST_HEAD(&global_trace.hist_vars); global_trace 9220 kernel/trace/trace.c INIT_LIST_HEAD(&global_trace.err_log); global_trace 9221 kernel/trace/trace.c list_add(&global_trace.list, &ftrace_trace_arrays); global_trace 9236 kernel/trace/trace.c free_cpumask_var(global_trace.tracing_cpumask); global_trace 9298 kernel/trace/trace.c tracing_set_clock(&global_trace, "global");