Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af5329cd authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* 'core/stacktrace' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  generic-ipi: powerpc/generic-ipi tree build failure
  stacktrace: fix build failure on sparc64
  stacktrace: export save_stack_trace[_tsk]
  stacktrace: fix modular build, export print_stack_trace and save_stack_trace
  backtrace: replace timer with tasklet + completions
  stacktrace: add saved stack traces to backtrace self-test
  stacktrace: print_stack_trace() cleanup
  debugging: make stacktrace independent from DEBUG_KERNEL
  stacktrace: don't crash on invalid stack trace structs
parents 1dc60c53 7798ed0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -92,4 +92,5 @@ void save_stack_trace(struct stack_trace *trace)
{
{
	save_stack_trace_tsk(current, trace);
	save_stack_trace_tsk(current, trace);
}
}
EXPORT_SYMBOL_GPL(save_stack_trace);
#endif
#endif
+1 −0
Original line number Original line Diff line number Diff line
@@ -51,3 +51,4 @@ void save_stack_trace(struct stack_trace *trace)
		fp = frame->fp;
		fp = frame->fp;
	}
	}
}
}
EXPORT_SYMBOL_GPL(save_stack_trace);
+1 −0
Original line number Original line Diff line number Diff line
@@ -73,3 +73,4 @@ void save_stack_trace(struct stack_trace *trace)
	prepare_frametrace(regs);
	prepare_frametrace(regs);
	save_context_stack(trace, regs);
	save_context_stack(trace, regs);
}
}
EXPORT_SYMBOL_GPL(save_stack_trace);
+2 −0
Original line number Original line Diff line number Diff line
@@ -12,6 +12,7 @@


#include <linux/sched.h>
#include <linux/sched.h>
#include <linux/stacktrace.h>
#include <linux/stacktrace.h>
#include <linux/module.h>
#include <asm/ptrace.h>
#include <asm/ptrace.h>


/*
/*
@@ -44,3 +45,4 @@ void save_stack_trace(struct stack_trace *trace)
		sp = newsp;
		sp = newsp;
	}
	}
}
}
EXPORT_SYMBOL_GPL(save_stack_trace);
+2 −0
Original line number Original line Diff line number Diff line
@@ -81,6 +81,7 @@ void save_stack_trace(struct stack_trace *trace)
			   S390_lowcore.thread_info,
			   S390_lowcore.thread_info,
			   S390_lowcore.thread_info + THREAD_SIZE, 1);
			   S390_lowcore.thread_info + THREAD_SIZE, 1);
}
}
EXPORT_SYMBOL_GPL(save_stack_trace);


void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace)
void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace)
{
{
@@ -93,3 +94,4 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace)
	if (trace->nr_entries < trace->max_entries)
	if (trace->nr_entries < trace->max_entries)
		trace->entries[trace->nr_entries++] = ULONG_MAX;
		trace->entries[trace->nr_entries++] = ULONG_MAX;
}
}
EXPORT_SYMBOL_GPL(save_stack_trace_tsk);
Loading