public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix ftrace stack traces on x86_64
@ 2012-03-22 10:18 Wolfgang Mauerer
  2012-03-22 10:18 ` [PATCH 1/2] Fix ftrace stack trace entries Wolfgang Mauerer
  2012-03-22 10:18 ` [PATCH 2/2, trace-cmd] Fix trace_printk for long integers Wolfgang Mauerer
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Mauerer @ 2012-03-22 10:18 UTC (permalink / raw)
  To: rostedt; +Cc: linux-kernel

Stack tracing with ftrace does currently not work properly when
trace-cmd is used on x86_64 machines -- only half of each stack
entry is shown (things work fine with the ftrace debugfs
interface):

mutextest-7604  [001]   664.978289: user_stack:
 => (000000002a7ac565)
 => (000000002a7a6070)
 => (00000000ffffffff)

The following two patches modify the kernel to use the proper
trace_printk format, and fix trace_cmd to parse the format
correctly:

mutextest-7604  [001]   664.978289: user_stack:
 => (00007f342a7ac565)
 => (00007f342a7a6070)
 => (ffffffffffffffff)

Cheers, Wolfgang

--
Siemens AG
Corporate Competence Centre Embedded Linux

>From Wolfgang Mauerer <wolfgang.mauerer@siemens.com> # This line is ignored.
From: Wolfgang Mauerer <wolfgang.mauerer@siemens.com>
Subject: 
In-Reply-To: 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-06 11:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-22 10:18 [PATCH 0/2] Fix ftrace stack traces on x86_64 Wolfgang Mauerer
2012-03-22 10:18 ` [PATCH 1/2] Fix ftrace stack trace entries Wolfgang Mauerer
2012-03-24  7:56   ` [tip:perf/urgent] tracing: " tip-bot for Wolfgang Mauerer
2012-03-22 10:18 ` [PATCH 2/2, trace-cmd] Fix trace_printk for long integers Wolfgang Mauerer
2012-03-23 21:20   ` Steven Rostedt
2012-07-06 11:11   ` [tip:perf/core] tools lib traceevent: " tip-bot for Wolfgang Mauerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox