Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Oct 31, 2011

  1. kernel: Map most files to use export.h instead of module.h

    The changed files were only including linux/module.h for the
    EXPORT_SYMBOL infrastructure, and nothing else.  Revector them
    onto the isolated export header for faster compile times.
    Nothing to see here but a whole lot of instances of:
      -#include <linux/module.h>
      +#include <linux/export.h>
    This commit is only changing the kernel dir; next targets
    will probably be mm, fs, the arch dirs, etc.
    Signed-off-by: Paul Gortmaker <>
    Paul Gortmaker authored

Jun 15, 2011

  1. Masami Hiramatsu (Hitachi)

    stack_trace: Add weak save_stack_trace_regs()

    Add weak symbol of save_stack_trace_regs() as same as
    save_stack_trace_tsk() since that is not implemented
    except x86 yet.
    Signed-off-by: Masami Hiramatsu <>
    Cc: Frederic Weisbecker <>
    Cc: Peter Zijlstra <>
    Cc: Namhyung Kim <>
    Signed-off-by: Steven Rostedt <>
    mhiramathitachi authored rostedt committed

Dec 25, 2008

  1. stacktrace: provide save_stack_trace_tsk() weak alias

    Impact: build fix
    Some architectures have not implemented save_stack_trace_tsk() yet:
      fs/built-in.o: In function `proc_pid_stack':
      base.c:(.text+0x3f140): undefined reference to `save_stack_trace_tsk'
    So warn about that if the facility is used.
    Signed-off-by: Ingo Molnar <>
    Ingo Molnar authored

Jun 30, 2008

  1. stacktrace: fix modular build, export print_stack_trace and save_stac…

    ERROR: "print_stack_trace" [kernel/backtracetest.ko] undefined!
    ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
    Signed-off-by: Ingo Molnar <>
    and fix:
      Building modules, stage 2.
      MODPOST 376 modules
    ERROR: "print_stack_trace" [kernel/backtracetest.ko] undefined!
    make[1]: *** [__modpost] Error 1
    Signed-off-by: Ingo Molnar <>
    Ingo Molnar authored

Jun 13, 2008

  1. Vegard Nossum

    stacktrace: print_stack_trace() cleanup

    - shorter code and better atomicity with regards to printk().
    (It's been tested with the backtrace self-test code on i386 and x86_64.)
    Cc: Arjan van de Ven <>
    Signed-off-by: Vegard Nossum <>
    Signed-off-by: Ingo Molnar <>
    vegard authored Ingo Molnar committed

May 23, 2008

  1. jmberg

    stacktrace: don't crash on invalid stack trace structs

    This patch makes the stacktrace printout code \warn when the entries
    pointer is unset rather than crashing when trying to access it in an
    attempt to make it a bit more robust.
    I was saving a stacktrace into an skb and forgot to copy it across skb
    copies... I have since fixed the code, but it would have been easier
    had the kernel not crashed in an interrupt.
    Signed-off-by: Johannes Berg <>
    Signed-off-by: Ingo Molnar <>
    Signed-off-by: Thomas Gleixner <>
    jmberg authored Thomas Gleixner committed

Jul 03, 2006

  1. [PATCH] lockdep: stacktrace subsystem, core

    Framework to generate and save stacktraces quickly, without printing anything
    to the console.
    Signed-off-by: Ingo Molnar <>
    Signed-off-by: Arjan van de Ven <>
    Signed-off-by: Andrew Morton <>
    Signed-off-by: Linus Torvalds <>
    Ingo Molnar authored Linus Torvalds committed
Something went wrong with that request. Please try again.