This is great! Thanks Alex!
From: Minoru Chikamune <chik...@chromium.org>
Sent: Monday, February 28, 2022 1:07 PM
To: Xu, Xing <xin...@intel.com>
Cc: Chromium-dev <chromi...@chromium.org>; Alexander Timin <alt...@chromium.org>
Subject: Re: [chromium-dev] Chrome trace startup got an unreadable json file
Hi,
Recently, the default trace format has been changed from JSON to perfetto's proto traces. You can open the new format with http://ui.perfetto.dev/.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/f5555fbf-27d9-4f36-a32c-c8324e9921ffn%40chromium.org.
Thanks! Below is how I run into this (Windows 10):
Then trace_to_text.exe complains error “trace_to_json.cc:55 Could not convert userspace events: EXPORT_JSON: Couldn't open output file (errcode: 1)”
I also tried “trace_to_text.exe text test.json testout.json”. It works, but not I want.
So maybe it is possible due to something wrong with mode = json ? or Have I missed any thing?
From: Minoru Chikamune <chik...@chromium.org>
Sent: Wednesday, March 2, 2022 9:16 AM
To: Xu, Xing <xin...@intel.com>
Cc: Chromium-dev <chromi...@chromium.org>; alt...@chromium.org <alt...@chromium.org>
Subject: Re: [chromium-dev] Chrome trace startup got an unreadable json file
I'm not sure if the following works for you, but
I'm using traceconv command that is included in the chromium repository.
I haven't seen any problems with this tool so far.
(There are several useful tools under third_party/perfetto/tools such as open_trace_in_ui (open trace log with https://ui.perfetto.dev/ from command line).)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/BN6PR11MB406600410BDF3D63C116552AF4039%40BN6PR11MB4066.namprd11.prod.outlook.com.
Yes, the online tool “"Convert to JSON"” works (Also chrome tracing works). But for my case, I need to convert this perffetto format to JSON with a Windows (Windows 10) command like traceconv (As mentioned below.)