From: Linus Torvalds Date: Sun, 28 Dec 2008 20:21:10 +0000 (-0800) Subject: Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0f4b285d7ed174804658539129a834270f4829a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'tracing-core-for-linus' of git://git./linux/kernel/git/tip/linux-2.6-tip * 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (241 commits) sched, trace: update trace_sched_wakeup() tracing/ftrace: don't trace on early stage of a secondary cpu boot, v3 Revert "x86: disable X86_PTRACE_BTS" ring-buffer: prevent false positive warning ring-buffer: fix dangling commit race ftrace: enable format arguments checking x86, bts: memory accounting x86, bts: add fork and exit handling ftrace: introduce tracing_reset_online_cpus() helper tracing: fix warnings in kernel/trace/trace_sched_switch.c tracing: fix warning in kernel/trace/trace.c tracing/ring-buffer: remove unused ring_buffer size trace: fix task state printout ftrace: add not to regex on filtering functions trace: better use of stack_trace_enabled for boot up code trace: add a way to enable or disable the stack tracer x86: entry_64 - introduce FTRACE_ frame macro v2 tracing/ftrace: add the printk-msg-only option tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp() x86, bts: correctly report invalid bts records ... Fixed up trivial conflict in scripts/recordmcount.pl due to SH bits being already partly merged by the SH merge. --- b0f4b285d7ed174804658539129a834270f4829a diff --cc arch/x86/kernel/cpu/Makefile index a5c04e88777e,4ae495a313f3..82db7f45e2de --- a/arch/x86/kernel/cpu/Makefile +++ b/arch/x86/kernel/cpu/Makefile @@@ -2,9 -2,13 +2,14 @@@ # Makefile for x86-compatible CPU details and quirks # + # Don't trace early stages of a secondary CPU boot + ifdef CONFIG_FUNCTION_TRACER + CFLAGS_REMOVE_common.o = -pg + endif + obj-y := intel_cacheinfo.o addon_cpuid_features.o obj-y += proc.o capflags.o powerflags.o common.o +obj-y += vmware.o hypervisor.o obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o obj-$(CONFIG_X86_64) += bugs_64.o diff --cc arch/x86/kernel/process.c index b8f3e9dbabd7,cff9a50e389d..e68bb9e30864 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@@ -8,8 -7,8 +8,9 @@@ #include #include #include + #include #include +#include unsigned long idle_halt; EXPORT_SYMBOL(idle_halt); diff --cc kernel/exit.c index ccb87162ff62,e5ae36ebe8af..c7422ca92038 --- a/kernel/exit.c +++ b/kernel/exit.c @@@ -53,8 -52,11 +53,12 @@@ #include #include #include +#include "cred-internals.h" + DEFINE_TRACE(sched_process_free); + DEFINE_TRACE(sched_process_exit); + DEFINE_TRACE(sched_process_wait); + static void exit_mm(struct task_struct * tsk); static inline int task_detached(struct task_struct *p)