23 Dec, 2011

1 commit

  • This change fixes a linking problem, which happens if oprofile
    is selected to be compiled as built-in:

    `oprofile_arch_exit' referenced in section `.init.text' of
    arch/arm/oprofile/built-in.o: defined in discarded section
    `.exit.text' of arch/arm/oprofile/built-in.o

    The problem is appeared after commit 87121ca504, which
    introduced oprofile_arch_exit() calls from __init function. Note
    that the aforementioned commit has been backported to stable
    branches, and the problem is known to be reproduced at least
    with 3.0.13 and 3.1.5 kernels.

    Signed-off-by: Vladimir Zapolskiy
    Signed-off-by: Robert Richter
    Cc: Will Deacon
    Cc: oprofile-list
    Cc:
    Link: http://lkml.kernel.org/r/20111222151540.GB16765@erda.amd.com
    Signed-off-by: Ingo Molnar

    Vladimir Zapolskiy
     

23 May, 2011

1 commit


27 Oct, 2010

3 commits


11 Oct, 2010

1 commit

  • Now that we've got a generic perf-events based oprofile backend we might
    as well make use of it seeing as SH doesn't do anything special with its
    oprofile backend. Also introduce a new CONFIG_HW_PERF_EVENTS symbol so
    that we can fallback to using the timer interrupt for oprofile if the
    CPU doesn't support perf events.

    Also, to avoid a section mismatch warning we need to annotate
    oprofile_arch_exit() with an __exit marker.

    Signed-off-by: Matt Fleming
    Acked-by: Paul Mundt
    Signed-off-by: Robert Richter

    Matt Fleming
     

05 Nov, 2009

2 commits

  • This reduces the 'count' size in the common support structure to 32-bits
    so that it matches up with what oprofile is expecting. The SH7750 code
    was using a nasty oprofilefs hack to expose the 48-bit counter, although
    no other implementations were. Now that the offending driver has been
    killed off, it's possible to restore some semblance of sanity.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This kills off the old SH7750 oprofile driver, preferring perf instead.
    As this driver has a number of bugs that no one seems to have noticed,
    it's safe to kill this off now rather than providing an extended
    transition period.

    The old oprofile framework is still kept in place for now, primarily to
    give out-of-tree drivers a chance to transition off. But this too will be
    killed off in short order.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

14 Aug, 2009

1 commit


13 Aug, 2009

2 commits

  • Instead of implementing our own stack unwinder via dump_trace() we
    should use the new stack unwinder API because it is more modular. This
    change allows us to decouple the interface for generating stacktraces
    from the implementation of a stack unwinder.

    Signed-off-by: Matt Fleming
    Signed-off-by: Paul Mundt

    Matt Fleming
     
  • Copy the stacktrace ops code from x86 and provide a central function for
    use by functions that need to dump a callstack.

    Signed-off-by: Matt Fleming
    Signed-off-by: Paul Mundt

    Matt Fleming
     

16 Apr, 2009

1 commit


03 Mar, 2009

1 commit

  • This adds preliminary support for the SH7786 CPU subtype.

    While this is a dual-core CPU, only UP is supported for now. L2 cache
    support is likewise not yet implemented.

    More information on this particular CPU subtype is available at:

    http://www.renesas.com/fmwk.jsp?cnt=sh7786_root.jsp&fp=/products/mpumcu/superh_family/sh7780_series/sh7786_group/

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Paul Mundt

    Kuninori Morimoto
     

22 Dec, 2008

5 commits


27 Oct, 2008

1 commit


07 Nov, 2007

1 commit


30 Oct, 2007

1 commit


20 Oct, 2007

1 commit

  • Quoting Randy:

    "It seems sad that this patch sources Kconfig.marker, a 7-line file,
    20-something times. Yes, you (we) don't want to put those 7 lines into
    20-something different files, so sourcing is the right thing.

    However, what you did for avr32 seems more on the right track to me: make
    _one_ Instrumentation support menu that includes PROFILING, OPROFILE, KPROBES,
    and MARKERS and then use (source) that in all of the arches."

    Signed-off-by: Mathieu Desnoyers
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers
     

13 Feb, 2007

2 commits


09 Dec, 2006

1 commit


27 Sep, 2006

1 commit


27 Jun, 2006

1 commit

  • nmi_create_files() in arch/i386/oprofile/nmi_int.c depends on
    model->num_counters (number of performance counters) being less than 10.
    While this is currently the case, it's too clever by half.

    Other archs aren't quite as clever: they assume 100. I suggest to
    normalize them all to 1000.

    Cc: Philippe Elie
    Cc: John Levon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Armbruster
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds