lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH 2/4] perf: Add persistent event facilities
    On Tue, May 03, 2011 at 08:59:35AM -0400, Frederic Weisbecker wrote:
    > On Tue, May 03, 2011 at 08:40:46AM +0200, Ingo Molnar wrote:
    > > [ kernel/hw_breakpoint.c could possibly move into kernel/events/hw_breakpoint.c
    > > file as well - if Frederic acks it. ]
    >
    > Makes sense yeah.

    Ok, looks trivial enough. Ingo, let me know if I should add it to the
    pull request from earlier.

    --
    From 48dbb6dc86ca5d1b2224937d774c7ba98bc3a485 Mon Sep 17 00:00:00 2001
    From: Borislav Petkov <borislav.petkov@amd.com>
    Date: Tue, 3 May 2011 15:26:43 +0200
    Subject: [PATCH] hw breakpoints: Move to kernel/events/

    As part of the events sybsystem unification, relocate hw_breakpoint.c
    into its new destination.

    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
    ---
    kernel/Makefile | 1 -
    kernel/events/Makefile | 3 ++-
    kernel/{ => events}/hw_breakpoint.c | 0
    3 files changed, 2 insertions(+), 2 deletions(-)
    rename kernel/{ => events}/hw_breakpoint.c (100%)

    diff --git a/kernel/Makefile b/kernel/Makefile
    index 7981530..e9cf191 100644
    --- a/kernel/Makefile
    +++ b/kernel/Makefile
    @@ -105,7 +105,6 @@ obj-$(CONFIG_IRQ_WORK) += irq_work.o

    obj-$(CONFIG_PERF_EVENTS) += events/

    -obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
    obj-$(CONFIG_USER_RETURN_NOTIFIER) += user-return-notifier.o
    obj-$(CONFIG_PADATA) += padata.o
    obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
    diff --git a/kernel/events/Makefile b/kernel/events/Makefile
    index 26c00e4..1ce23d3 100644
    --- a/kernel/events/Makefile
    +++ b/kernel/events/Makefile
    @@ -2,4 +2,5 @@ ifdef CONFIG_FUNCTION_TRACER
    CFLAGS_REMOVE_core.o = -pg
    endif

    -obj-y += core.o
    +obj-y := core.o
    +obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
    diff --git a/kernel/hw_breakpoint.c b/kernel/events/hw_breakpoint.c
    similarity index 100%
    rename from kernel/hw_breakpoint.c
    rename to kernel/events/hw_breakpoint.c
    --
    1.7.4.rc2

    --
    Regards/Gruss,
    Boris.

    Advanced Micro Devices GmbH
    Einsteinring 24, 85609 Dornach
    General Managers: Alberto Bozzo, Andrew Bowd
    Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
    Registergericht Muenchen, HRB Nr. 43632


    \
     
     \ /
      Last update: 2011-05-03 15:33    [W:0.024 / U:214.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site