Skip to contentSkip to conversation

combine per-cpu trace files

DISCUSSION Arend van Spriel 2 participants 3 messages Feb 24, 2014

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · On Mon, 24 Feb 2014 13:07:50 +0100 Arend van Spriel <[email protected]> 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

#2 lore raw
Quoted 12 lines · Steven Rostedt
Quoted 8 lines · On Mon, 24 Feb 2014 13:07:50 +0100 Arend van Spriel <[email protected]> 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.

Quoted 2 lines

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

Quoted 8 lines

-- Steve

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