lkml.org 
[lkml]   [2009]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/2] tracing, boottrace: Move include/trace/boot.h to include/linux/boottrace.h
    Impact: refactor code, no functionality changed

    Files in include/trace/ should be definition of tracepoints, and header
    file for boot trace should put to include/linux/.

    Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
    ---
    include/{trace/boot.h => linux/boottrace.h} | 0
    init/main.c | 2 +-
    kernel/trace/trace.h | 2 +-
    3 files changed, 2 insertions(+), 2 deletions(-)
    rename include/{trace/boot.h => linux/boottrace.h} (100%)

    diff --git a/include/trace/boot.h b/include/linux/boottrace.h
    similarity index 100%
    rename from include/trace/boot.h
    rename to include/linux/boottrace.h
    diff --git a/init/main.c b/init/main.c
    index 694a563..d7d4741 100644
    --- a/init/main.c
    +++ b/init/main.c
    @@ -66,7 +66,7 @@
    #include <linux/ftrace.h>
    #include <linux/async.h>
    #include <linux/kmemtrace.h>
    -#include <trace/boot.h>
    +#include <linux/boottrace.h>

    #include <asm/io.h>
    #include <asm/bugs.h>
    diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
    index ce6bdc4..5b654ce 100644
    --- a/kernel/trace/trace.h
    +++ b/kernel/trace/trace.h
    @@ -8,7 +8,7 @@
    #include <linux/ring_buffer.h>
    #include <linux/mmiotrace.h>
    #include <linux/ftrace.h>
    -#include <trace/boot.h>
    +#include <linux/boottrace.h>
    #include <linux/kmemtrace.h>
    #include <trace/power.h>

    --
    1.5.5.3



    \
     
     \ /
      Last update: 2009-04-13 05:57    [W:0.020 / U:31.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site