Files
kernel_google_b1c1/include/trace/events
Arnd Bergmann db94cb8782 tracing: always define trace_{irq,preempt}_{enable_disable}
We get a build error in the irqsoff tracer in some configurations:

kernel/trace/trace_irqsoff.c: In function 'trace_preempt_on':
kernel/trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'; did you mean 'trace_irq_enable_rcuidle'? [-Werror=implicit-function-declaration]
  trace_preempt_enable_rcuidle(a0, a1);

The problem is that trace_preempt_enable_rcuidle() has different
definition based on multiple Kconfig symbols, but not all combinations
have a valid definition.

This changes the conditions so that we always get exactly one
definition of each of the four tracing macros. I have not tried
to verify that these definitions are sensible, but now we
can build all randconfig combinations again.

Link: http://lkml.kernel.org/r/20171019083230.2450779-1-arnd@arndb.de

Change-Id: I6220ade69ab894721ce9f737a634ac6cc15c16e7
Fixes: d59158162e03 ("tracing: Add support for preempt and irq enable/disable events")
Acked-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Git-commit: 250d0c7754aa37c6443f07f1f5f591e2806295d8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2018-04-23 19:04:47 +05:30
..
2017-07-20 14:15:21 +05:30
2016-02-26 10:52:48 +09:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-07-14 22:16:05 -07:00
2018-02-22 19:19:04 +00:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2017-08-21 19:16:27 +05:30
2016-08-16 18:57:07 -07:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00
2017-11-30 15:29:02 +05:30