lkml.org 
[lkml]   [2012]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Fix ftrace stack traces on x86_64
Date
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:



\
 
 \ /
  Last update: 2012-03-22 11:41    [W:0.054 / U:1.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site