aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2009-12-31 05:53:02 +0100
committerIngo Molnar <[email protected]>2009-12-31 13:11:31 +0100
commit48b5ba9cc98d676712da29d9931f1c88e5185ff2 (patch)
tree6961114f04455c1da1d32212d6258bc75f362bfd /drivers/mtd/lpddr/lpddr_cmds.c
parent4efb5290ae187514bd31af8c2d7755e175245e19 (diff)
perf: Pass appropriate frame pointer to dump_trace()
Pass the frame pointer from the regs of the interrupted path to dump_trace() while processing the stack trace. Currently, dump_trace() takes the current bp and starts the callchain from dump_trace() itself. This is wasteful because we need to walk through the entire NMI/DEBUG stack before retrieving the interrupted point. We can fix that by just using the frame pointer from the captured regs. It points exactly where we want to start. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions