android_kernel_xiaomi_sm8350/include/trace
Frederic Weisbecker 47788c58e6 tracing/syscalls: use a dedicated file header
Impact: fix build warnings and possibe compat misbehavior on IA64

Building a kernel on ia64 might trigger these ugly build warnings:

CC      arch/ia64/ia32/sys_ia32.o
In file included from arch/ia64/ia32/sys_ia32.c:55:
arch/ia64/ia32/ia32priv.h:290:1: warning: "elf_check_arch" redefined
In file included from include/linux/elf.h:7,
                 from include/linux/module.h:14,
                 from include/linux/ftrace.h:8,
                 from include/linux/syscalls.h:68,
                 from arch/ia64/ia32/sys_ia32.c:18:
arch/ia64/include/asm/elf.h:19:1: warning: this is the location of the previous definition
[...]

sys_ia32.c includes linux/syscalls.h which in turn includes linux/ftrace.h
to import the syscalls tracing prototypes.

But including ftrace.h can pull too much things for a low level file,
especially on ia64 where the ia32 private headers conflict with higher
level headers.

Now we isolate the syscall tracing headers in their own lightweight file.

Reported-by: Tony Luck <tony.luck@intel.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jason Baron <jbaron@redhat.com>
Cc: "Frank Ch. Eigler" <fche@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Jiaying Zhang <jiayingz@google.com>
Cc: Michael Rubin <mrubin@google.com>
Cc: Martin Bligh <mbligh@google.com>
Cc: Michael Davidson <md@google.com>
LKML-Reference: <20090408184058.GB6017@nowhere>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-04-09 05:43:32 +02:00
..
block.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
boot.h tracing/fastboot: include missing headers 2008-12-12 09:26:13 +01:00
irq_event_types.h tracing: tracepoints for softirq entry/exit - tracepoints 2009-03-12 21:20:58 -04:00
irq.h tracing, genirq: add irq enter and exit trace events 2009-02-26 18:43:50 +01:00
kmemtrace.h kmemtrace: use tracepoints 2009-04-03 12:23:06 +02:00
lockdep_event_types.h tracing: remove obsolete TRACE_EVENT_FORMAT macro 2009-03-10 00:35:12 -04:00
lockdep.h tracing: add lockdep tracepoints for lock acquire/release 2009-03-04 18:49:58 +01:00
power.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
sched_event_types.h tracing: flip the TP_printk and TP_fast_assign in the TRACE_EVENT macro 2009-03-10 12:41:38 -04:00
sched.h tracing: add schedule events to event trace 2009-02-24 21:54:07 -05:00
skb.h tracing, net: fix net tree and tracing tree merge interaction 2009-04-02 00:50:30 +02:00
syscall.h tracing/syscalls: use a dedicated file header 2009-04-09 05:43:32 +02:00
trace_event_types.h tracing: add lockdep tracepoints for lock acquire/release 2009-03-04 18:49:58 +01:00
trace_events.h tracing: add lockdep tracepoints for lock acquire/release 2009-03-04 18:49:58 +01:00
workqueue.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00