Giter VIP home page Giter VIP logo

Comments (3)

LalitMaganti avatar LalitMaganti commented on May 31, 2024 1

it is displayed well with the structure variable in perfetto ui. Is the guide for other use cases?

Please see "Kernel Tracing" section at https://perfetto.dev/docs/tracing-101#recording-traces. TLDR: we encode ftrace events we don't know about very inefficiently as "generic" events: what you are seeing in the UI is this generic encoding at work.

ftrace_bundle_tokenizer_errors

This is a generic error which happens when there is a very serious failure in our ability to parse the trace. Without having the actual trace to look at, this is ~impossible to debug.

from perfetto.

hojihodi avatar hojihodi commented on May 31, 2024

I don't think I understand what i needs to be modified yet ( for new ftrace event )
Do I need to update the perfetto ui code to add a new event and see it in ui?
( To be exact, it's about the trace processor ? )

from perfetto.

LalitMaganti avatar LalitMaganti commented on May 31, 2024

The instructions at https://perfetto.dev/docs/contributing/common-tasks#add-a-new-ftrace-event explain exactly what you need to do. It's not just modifying trace processor, you also need to change the collection code so that we can generate the real proto events instead of generic events.

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.