Code Monkey home page Code Monkey logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Mathieu, thanks for the report.

I've commited a fix to this issue, and gprof2dot now works.

But I found another issue with the profile you sent -- the resulting dot file 
is huge
and dot takes forever to produce a graph. I'll need some more time to analyze 
this,
but my guess is that due to IRQs usage or kernel preemption the call graph 
turns into
a dense spaghetti ball. I'll either need to provide a mechanism to mark IRQs, 
or a
heuristic to prune nodes and edges inside call cycles.

Original comment by [email protected] on 14 Apr 2008 at 2:32

  • Changed state: Started

from jrfonseca.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Mathieu, I've finally managed to come up with an heuristic to propagate time 
inside
recursive function cycles. The generated dot file is much smaller, and dot can 
now
produce result in a finite time. Resulting output attached.

It is now possible to make some sense out of the kernel-side call graph -- there
appears to be a lot of time spend waiting for buffers --, but it still looks a 
bit
like spaghetti. I think this is due to oprofile limitations (call stack is not 
100%
exact), and I can't see anything else that gprof2dot can do to improve the 
situation.

Original comment by [email protected] on 28 Jun 2008 at 3:51

  • Changed state: Fixed

Attachments:

from jrfonseca.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Jose, thank you very much for your time.

Original comment by [email protected] on 28 Jun 2008 at 11:56

from jrfonseca.

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.