https://github.com/torvalds/linux
Revision da511bf33e47ea1f33f4b672f7da166d2a1b8a91 authored by Steven Rostedt (Red Hat) on 09 May 2013, 19:00:07 UTC, committed by Steven Rostedt on 10 May 2013, 00:14:49 UTC
Both __trace_add_new_event() and __trace_early_add_new_event() do
basically the same thing, except that __trace_add_new_event() does
a little more.

Instead of having duplicate code between the two functions, add
a helper function trace_create_new_event() that both can use.
This will help against having bugs fixed in one function but not
the other.

Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 parent 1cf4c07
History
Tip revision: da511bf33e47ea1f33f4b672f7da166d2a1b8a91 authored by Steven Rostedt (Red Hat) on 09 May 2013, 19:00:07 UTC
tracing: Add helper function trace_create_new_event() to remove duplicate code
Tip revision: da511bf
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 244.4 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top