Comments (3)
(Note this is working as expected with the legacy UI)
from perfetto.
Parsing 64bits values in json may cause issues.
Please see our FAQ at https://perfetto.dev/docs/faq#why-does-perfetto-not-support-lt-some-obscure-json-format-feature-gt-.
tids/pids which are uint64 fall into the category of "This is especially the case for traces which are programmatically generated outside of Chrome and depend on the implementation details of chrome://tracing.". As described in the FAQ, the Chrome JSON format is only supported as much as is required to support Chrome generated traces. Anything else is only supported if it is easy to do so and uint64 tids would require significant rearchitecting of trace processor.
But unfortunately, thread names are not resolved in the UI. They are displayed as:
The representation of tids/pids as strings also causes the same string to be used as the thread name. This was a hidden feature for prototyping purposes but not really intended to be depended upon or for any non-prototype purposes.
Is there a way to work around this? (Apart from switching to protobuf messages or masking to 32 bits?)
These would be the suggested workarounds.
from perfetto.
Thanks for your answer!
from perfetto.
Related Issues (20)
- Race condition trying to load new content into Perfetto HOT 10
- Perfetto can load gz files but not zip. HOT 1
- When the same id is used in the Flow EVENT, it is drawn strangely. HOT 1
- sdk example_custom_data_source does not load HOT 10
- Invalid URL HOT 1
- How to get system begin time of a trace slice HOT 4
- Certain tables dont get populated with data HOT 1
- Is it possible to show all dependencies at once? HOT 1
- The priority of the same thread suddenly changes in a trace. HOT 7
- UI enhancement: Exclude non-returning syscalls like sys_rt_sigreturn from processing to prevent endless slices HOT 11
- cpu_profiler.py uses tempfile before closing it on window 10 problems HOT 1
- A timestamp display issue of perfetto HOT 8
- Cannot open the settings page HOT 2
- How to lock the range of Perfetto timeline HOT 6
- How to merge same methods in Web UI? HOT 1
- Cant find any data from android.dvfs and android.battery in moto g40 fusion(anddroid 12) HOT 2
- Error "col: 'name': SQL value is NULL but that was not expected" HOT 7
- no such table: android_startups HOT 3
- Unable to view the caller function of sched_blocked_reason using Perfetto HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perfetto.