8 #include <linux/sched.h>
11 #include <linux/module.h>
13 register unsigned long current_frame_pointer
asm(
"FP");
28 int skip = trace->skip;
32 fp = current_frame_pointer;
34 while (fp >= low && fp <= (high -
sizeof(*frame))) {
40 trace->entries[trace->nr_entries++] = frame->
rets;
41 if (trace->nr_entries >= trace->max_entries)
49 low = fp +
sizeof(*frame);