[PATCH 0/2] Fix ftrace stack traces on x86_64

From: Wolfgang Mauerer
Date: Thu Mar 22 2012 - 06:38:08 EST


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@xxxxxxxxxxx> # This line is ignored.
From: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxx>
Subject:
In-Reply-To:

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/