* combine per-cpu trace files
@ 2014-02-24 12:07 Arend van Spriel
2014-02-24 13:36 ` Steven Rostedt
0 siblings, 1 reply; 3+ messages in thread
From: Arend van Spriel @ 2014-02-24 12:07 UTC (permalink / raw)
To: Steven Rostedt; +Cc: linux-kernel
Hi Steven,
Regarding trace-cmd I have a question about the trace files. While
debugging an driver issue I had trace-cmd recording driver events on the
target system until it crashed and I had to power down the machine. Now
I have three trace-cmd files: trace.dat, trace.cpu1 and trace.cpu2.
trace-cmd combines the per-cpu files into final trace.dat, but would it
be possible to do that as a separate post process after a crash/abort.
Regards,
Arend
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: combine per-cpu trace files
2014-02-24 12:07 combine per-cpu trace files Arend van Spriel
@ 2014-02-24 13:36 ` Steven Rostedt
2014-02-24 15:22 ` Arend van Spriel
0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2014-02-24 13:36 UTC (permalink / raw)
To: Arend van Spriel; +Cc: linux-kernel
On Mon, 24 Feb 2014 13:07:50 +0100
Arend van Spriel <arend@broadcom.com> wrote:
> Hi Steven,
>
> Regarding trace-cmd I have a question about the trace files. While
> debugging an driver issue I had trace-cmd recording driver events on the
> target system until it crashed and I had to power down the machine. Now
> I have three trace-cmd files: trace.dat, trace.cpu1 and trace.cpu2.
> trace-cmd combines the per-cpu files into final trace.dat, but would it
> be possible to do that as a separate post process after a crash/abort.
Yep, if you installed the trace-cmd man pages (make install_doc) then
do a "man trace-cmd-restore"
-- Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: combine per-cpu trace files
2014-02-24 13:36 ` Steven Rostedt
@ 2014-02-24 15:22 ` Arend van Spriel
0 siblings, 0 replies; 3+ messages in thread
From: Arend van Spriel @ 2014-02-24 15:22 UTC (permalink / raw)
To: Steven Rostedt; +Cc: linux-kernel
On 02/24/2014 02:36 PM, Steven Rostedt wrote:
> On Mon, 24 Feb 2014 13:07:50 +0100
> Arend van Spriel <arend@broadcom.com> wrote:
>
>> Hi Steven,
>>
>> Regarding trace-cmd I have a question about the trace files. While
>> debugging an driver issue I had trace-cmd recording driver events on the
>> target system until it crashed and I had to power down the machine. Now
>> I have three trace-cmd files: trace.dat, trace.cpu1 and trace.cpu2.
>> trace-cmd combines the per-cpu files into final trace.dat, but would it
>> be possible to do that as a separate post process after a crash/abort.
>
> Yep, if you installed the trace-cmd man pages (make install_doc) then
> do a "man trace-cmd-restore"
Nope. But I have a cloned repo so I think I will manage ;-)
Thanks,
Arend
> -- Steve
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-24 15:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 12:07 combine per-cpu trace files Arend van Spriel
2014-02-24 13:36 ` Steven Rostedt
2014-02-24 15:22 ` Arend van Spriel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox