Giter VIP home page Giter VIP logo

Comments (4)

LalitMaganti avatar LalitMaganti commented on May 30, 2024

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.

qais-yousef avatar qais-yousef commented on May 30, 2024

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.

LalitMaganti avatar LalitMaganti commented on May 30, 2024

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.

LalitMaganti avatar LalitMaganti commented on May 30, 2024

For Googlers, there is an internal bug about 16K pages at b/269635302

from perfetto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.