使用trace-cmd有的时候没有来得及使用ctrl+c, 导致出现多个trace.dat.cpu*, 可以使用下面的办法来手动合并trace.dat
If a crash happened on another box, you could run: $ trace-cmd restore -c -o box-partial.dat Then on the server that has the cpu files: $ trace-cmd restore -i box-partial.dat trace.dat.cpu0 trace.dat.cpu1 This would create a trace.dat file for the embedded box.
本文介绍了一种在未及时停止trace-cmd导致产生多个trace.dat.cpu*文件时,如何手动合并这些文件的方法。通过特定的命令,可以在不同设备上进行trace文件的部分恢复和合并,最终生成一个完整的trace.dat文件。
1133

被折叠的 条评论
为什么被折叠?



