google / schedviz

A tool for gathering and visualizing kernel scheduling traces on Linux machines
Apache License 2.0
519 stars 34 forks source link

Failed to upload trace file - field pid not found #47

Open JonKohler opened 2 years ago

JonKohler commented 2 years ago

On tracing a 5.17 kernel, I get the following error. I'm assuming kernel has changed some formatting that SchedViz cares about somewhere along the way?

Happy to share a sample trace over google drive to whomever would like to take a look cc @sabarabc

Failed to upload trace file trace.tar.gz
Message:
 Http failure response for http://10.50.69.252:7402/upload: 500 Internal Server Error
Reason:
 Internal Server Error:
Failed to upload trace file: rpc error: code = NotFound desc = field 'pid' not found for event 0

Request:
POST /upload HTTP/1.1
Host: 10.50.69.252:7402
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 902299
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryY3g4UA4Pa40A1T3z
Origin: http://10.50.69.252:7402
Referer: http://10.50.69.252:7402/collections
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36
sabarabc commented 2 years ago

We'd need to look at the trace file to investigate that error. You can send me an email at sabarabc at google.com if you don't want to share your trace file publically.

deshpandeyash commented 1 year ago

Was this issue solved? I am facing the same error.

deshpandeyash commented 1 year ago

trace(12).tar.gz