Giter VIP home page Giter VIP logo

Comments (3)

primiano avatar primiano commented on May 31, 2024

from perfetto.

dionysus1016 avatar dionysus1016 commented on May 31, 2024

@primiano Thanks for your answers. It's great to know that overhead is almost the same between inproc and system mode. Regarding the burst of CPU usage when dumping files, we plan to modify the code to work around it, for example, dumping entries in 50ms intervals.

I have another question about triggers. It seems the trigger is a session-level concept. For instance, when a trigger is activated, all data sources in the same session will apply the same rule to start/stop. Is it possible to configure different behavior per data source when the trigger is activated? For example, in one session, I want ftrace to stop without delay and track event stop after 1 second. To address this requirement, we plan to have a different session for different rules and then merge these trace files into a single one

from perfetto.

LalitMaganti avatar LalitMaganti commented on May 31, 2024

Is it possible to configure different behavior per data source when the trigger is activated?

There's no easy way to do what you are asking about, triggers are a session wide concept and there are no plans to make them data-source specific.

While we generally do not advocate for merging traces, might be a reasonable option in your case.

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.