sys - add temp traces xtract
This commit is contained in:
parent
bb3f2c0f58
commit
732697fc75
|
@ -41,8 +41,11 @@ func (x *Xtract) setCompressedFile(dumpName string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Xtract) writeUncompressedData(out *bytes.Buffer) bool {
|
func (x *Xtract) writeUncompressedData(out *bytes.Buffer) bool {
|
||||||
|
fmt.Printf("writeUncompressed %s\n", x.outFile)
|
||||||
|
fmt.Printf("writeUncompressedData :\n%s\n", string(out.Bytes()[0:50]))
|
||||||
err := os.WriteFile(x.outFile, out.Bytes(), 0644)
|
err := os.WriteFile(x.outFile, out.Bytes(), 0644)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
fmt.Printf("err uncompressed : %+v\n", err)
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user