GithubHelp home page GithubHelp logo

heterog / perfetto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/perfetto

0.0 0.0 0.0 90.06 MB

Performance instrumentation and tracing for Android, Linux and Chrome (read-only mirror of https://android.googlesource.com/platform/external/perfetto/)

Home Page: https://www.perfetto.dev

License: Apache License 2.0

Shell 0.47% JavaScript 0.62% C++ 68.54% Python 10.42% C 1.76% Java 0.08% TypeScript 15.36% CSS 0.03% Makefile 0.06% HTML 0.12% Dockerfile 0.04% SCSS 0.93% Meson 0.01% Starlark 1.56%

perfetto's Introduction

Perfetto - System profiling, app tracing and trace analysis

Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.

See https://perfetto.dev/docs or the /docs/ directory for documentation.

Fork

Some stupid things that I've added (without fully tested, without any testcase, yes, without warranty, you've been warned):

  • Add kernel_stack event, this is a trigger that can be used with ftrace events, maybe useful when debugging some functionality issues (may have no help with performance-related issues). Now the stack is available in processes' Callstack section.
  • Support the riscv64 architecture, only tested with Lichee Pi 4A.

There's more things to be done:

  • The code is extremely simple & naive, without any abstractions, and is not ready for production use, maybe there's a HUGE refactor then. Like some kind of proof-of-concept.
  • Missing unittest, valgrind/asan test, etc.
  • The perf sample section seems not combining well with ftrace event, if you want to view the stack of a ftrace event, you shall first locate the process first... So, may have a try to improve the UI?
  • Fully UNTESTED, things might go wrong if you enable both fstacktrace and sampling_stack. And only linux.ftrace + linux.perf is working.

perfetto's People

Contributors

amayzner avatar android-build-merge-worker-robot avatar anindita avatar betasheet avatar carlscabgro avatar cervantesyu avatar cferris1000 avatar chromy avatar ddiproietto avatar ddrone avatar deepanjanroy avatar delphij avatar fmayer avatar hugojacob avatar ilkos avatar isabelle49 avatar lalitmaganti avatar michaschwab avatar nicomazz avatar octaviantu avatar primiano avatar rsavitski avatar rschiu avatar rslawik avatar silence-do-good avatar skyostil avatar ssiddhartha avatar stevegolton avatar vinterstum avatar zezeozue avatar

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.