Comments (4)
This seems like more a bug in Asahi Linux than a bug in traced_probes as it looks like ftrace is passing an "all-zero" page to the parser which should never happen.
Given we don't see this on any non-Mac platforms and the general immaturity of Linux on Apple Silicon in the first place, I don't think there is anything to do on our side: it's probably better to file this against Asahi Linux kernel developers.
from perfetto.
Could it be related to them using 16K pages by default? I'll try to compile with 4K and see what happens. The kernel shouldn't be different from upstream in this regard. But I will double check and report back if there's anything interesting or file a bug upstream if it's a Linux issue.
from perfetto.
I forgot M1 is 16K: it's reasonably likely that might be the issue. There are various places in the Perfetto stack where we "hard-code" the notion of 4K pages. Architecturally, there is nothing stopping us from actually using 16K but it requires making changes at some very core parts of Perfetto which is a somewhat scary task and requires a lot of reasoning whether the 4K page size is because we are interfacing with Linux ftrace or we just happened to choose 4K for some other reason and reused the constant.
from perfetto.
For Googlers, there is an internal bug about 16K pages at b/269635302
from perfetto.
Related Issues (20)
- Is there a way to assign names to threads instead of just the thread id? HOT 3
- [BUG] Perfetto_SQL sample can't work HOT 1
- Misc Global Tracks => Screenshots track is always shown HOT 4
- Interested in Bazel for JS? HOT 3
- query uninterruptible sleep state with python sql HOT 1
- visualization cpu utilization per process HOT 5
- "CPU by Thread" view does not include information (eg. thread_state etc.) associated with CPU0 HOT 1
- convert android command line parameters to config file HOT 5
- show memory used per app UI HOT 7
- About the bug in base_slice_track in Perfetto UI HOT 1
- request feature to show diskIO graph just similar to bootchart HOT 2
- Could Debug Tracks support nominal color? HOT 2
- sched_wakeup & sched_waking events are missing in lastet UI after loading from JSON result(converted from origin trace_file.perfetto-trace) HOT 1
- Can I jump to some timestamp directly? HOT 2
- How to collect track event data of a specified process? HOT 1
- cpu freq captured time not the same between golden and silver core HOT 1
- Perfetto v40.0's Jump link invalid HOT 3
- Using ftrace counters significantly slows down UI in Safari 17.1 HOT 5
- Need help for sql syntax(Can't sum float value)
- Can't see my trace event in In System mode 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.