trace_events.c (2b5894cc33e9dea189a7010c7ed57d414786d174) | trace_events.c (d19ad0775dcd64b49eecf4fa79c17959ebfbd26b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * event tracer 4 * 5 * Copyright (C) 2008 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 6 * 7 * - Added format output of fields of the trace point. 8 * This was based off of work by Tom Zanussi <tzanussi@gmail.com>. --- 3659 unchanged lines hidden (view full) --- 3668#ifdef CONFIG_FUNCTION_TRACER 3669 3670static DEFINE_PER_CPU(atomic_t, ftrace_test_event_disable); 3671 3672static struct trace_event_file event_trace_file __initdata; 3673 3674static void __init 3675function_test_events_call(unsigned long ip, unsigned long parent_ip, | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * event tracer 4 * 5 * Copyright (C) 2008 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 6 * 7 * - Added format output of fields of the trace point. 8 * This was based off of work by Tom Zanussi <tzanussi@gmail.com>. --- 3659 unchanged lines hidden (view full) --- 3668#ifdef CONFIG_FUNCTION_TRACER 3669 3670static DEFINE_PER_CPU(atomic_t, ftrace_test_event_disable); 3671 3672static struct trace_event_file event_trace_file __initdata; 3673 3674static void __init 3675function_test_events_call(unsigned long ip, unsigned long parent_ip, |
3676 struct ftrace_ops *op, struct pt_regs *pt_regs) | 3676 struct ftrace_ops *op, struct ftrace_regs *regs) |
3677{ 3678 struct trace_buffer *buffer; 3679 struct ring_buffer_event *event; 3680 struct ftrace_entry *entry; 3681 unsigned long flags; 3682 long disabled; 3683 int cpu; 3684 int pc; --- 68 unchanged lines hidden --- | 3677{ 3678 struct trace_buffer *buffer; 3679 struct ring_buffer_event *event; 3680 struct ftrace_entry *entry; 3681 unsigned long flags; 3682 long disabled; 3683 int cpu; 3684 int pc; --- 68 unchanged lines hidden --- |