x86/ftrace, x86/asm: Kill ftrace_caller_end label
authorBorislav Petkov <bp@suse.de>
Tue, 16 Feb 2016 08:43:21 +0000 (09:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Feb 2016 07:47:22 +0000 (08:47 +0100)
commitf1b92bb6b5a4e17b508f128b084fa00e0eda590c
treed50ff35391cb9d0d928e3465032c0a6304446246
parent4f6c893822932622fad2b46cc30467be9f20ee5d
x86/ftrace, x86/asm: Kill ftrace_caller_end label

One of ftrace_caller_end and ftrace_return is redundant so unify them.
Rename ftrace_return to ftrace_epilogue to mean that everything after
that label represents, like an afterword, work which happens *after* the
ftrace call, e.g., the function graph tracer for one.

Steve wants this to rather mean "[a]n event which reflects meaningfully
on a recently ended conflict or struggle." I can imagine that ftrace can
be a struggle sometimes.

Anyway, beef up the comment about the code contents and layout before
ftrace_epilogue label.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1455612202-14414-4-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/ftrace.c
arch/x86/kernel/mcount_64.S