mark

Results 2 issues of mark

When I used the json-writer.c file as a lib, I found that it often caused coredump errors, so I submitted this patch Thanks for taking the time to contribute to...

when calc_total, the processIo = sum(child threads), so when calc, should not add tid!=pid.