Giter Site home page Giter Site logo

Comments (11)

felixge avatar felixge commented on August 28, 2024 1

It's now possible to use FlameScope with go1.19+ - I've written a tool and blog post for it here: https://blog.felixge.de/flamescope-for-go/

from flamescope.

Liron24 avatar Liron24 commented on August 28, 2024

Hi, I'm getting the same stacktrace and I'm running Java application, any ideas about it?

from flamescope.

spiermar avatar spiermar commented on August 28, 2024

@Liron24 what kind of profile are you trying to open?

from flamescope.

Liron24 avatar Liron24 commented on August 28, 2024

@spiermar not sure about the answer to your question.
I have performed the basic example you have provided:
$ sudo perf record -F 49 -a -g -- sleep 120
$ sudo perf script --header > stacks.myproductionapp.2018-03-30_01

It produces a perf file, I moved it to the examples folder, saw it on the flamescope but when I tried to open the stacktrace showed here appeared.
Any ideas?

from flamescope.

spiermar avatar spiermar commented on August 28, 2024

Ok, so the previous issue was that the trace was generated from trying to open a non-perf profile. Can you share profile with us to reproduce?

from flamescope.

Liron24 avatar Liron24 commented on August 28, 2024

@spiermar it's our production application, I can't really share it, is there any other information I can provide you to understand what's going on? Or any other instructions for me to try and troubleshoot this?

from flamescope.

spiermar avatar spiermar commented on August 28, 2024

@Liron24 if it's that exact error

cols = int(ceil(end) - floor(start))
OverflowError: cannot convert float infinity to integer

Likely the error is caused by a failure to parse a start and/or end timestamps of the profile:

https://github.com/Netflix/flamescope/blob/master/app/util/heatmap.py#L84

If you compare your profile with the examples in the repo, do they look similar? Same format?

from flamescope.

Liron24 avatar Liron24 commented on August 28, 2024

@spiermar my generated perf.data is a binary and I can't really read it while the other examples I can clearly open and read. Is there any other command to generate a profile to be similar to the examples?

from flamescope.

spiermar avatar spiermar commented on August 28, 2024

Ok, so looks like you're trying to open the raw perf record data, not the output of perf script, which it's text format.

from flamescope.

Liron24 avatar Liron24 commented on August 28, 2024

@spiermar you were right. I managed to view an heat map of the stacks output, however, all the classes shows as "unknown", could it stems from the errors I got when creating the stacks?
Failed to open <> , continuing without symbols

from flamescope.

spiermar avatar spiermar commented on August 28, 2024

Yes, unknowns are missing symbols.

from flamescope.

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.