GithubHelp home page GithubHelp logo

Comments (9)

brendangregg avatar brendangregg commented on July 23, 2024 1

Yes, the UI should say "empty file" or something, instead of crashing. Needs to be fixed.

from flamescope.

grooverdan avatar grooverdan commented on July 23, 2024

Header only (perf script --debug-mode) files cause the same backtrace:

-rw-rw-r-- 1 dan  dan      1384 Apr  4 21:01 stacks.mysql-prep.2018-04-04 21:01:35-05:00
-rw-rw-r-- 1 dan  dan      1384 Apr  4 21:01 stacks.mysql-prep.2018-04-04 21:01:58-05:00

from flamescope.

smarter avatar smarter commented on July 23, 2024

I've got the same issue on all perf files generated from jvm applications. Here's an example: perf-54606.data.gz

from flamescope.

spiermar avatar spiermar commented on July 23, 2024

@brendangregg can you check this example file? I'll also add a another issue to track general file error handling.

from flamescope.

rogerwelin avatar rogerwelin commented on July 23, 2024

Im getting the same error, perf file was generated using https://github.com/jvm-profiling-tools/async-profiler and the cmd I used was: ./profiler.sh -d 30 -o collapsed -f /tmp/traces.txt 30497

the file is not empty (~10mb)

from flamescope.

ceeaspb avatar ceeaspb commented on July 23, 2024

@rogerwelin async-profiler with -o collapsed aggregates all the samples into counts per stack trace. flamescope needs each individual sample with a timestamp so it can generate the heatmap over time and flamegraph for a certain time range. I have opened a new feature request in async-profiler for this.

from flamescope.

ceeaspb avatar ceeaspb commented on July 23, 2024

@smarter did you produce perf script output file from the raw perf.data file? If not you'll need to.

from flamescope.

spiermar avatar spiermar commented on July 23, 2024

@grooverdan File handling improvements will be tracked on #18

@rogerwelin @smarter these seem to be invalid files. Let me know if otherwise and I'll reopen the issue.

@ceeaspb Thanks for the help on this!

from flamescope.

Liron24 avatar Liron24 commented on July 23, 2024

@ceeaspb can you please elaborate on :

@smarter did you produce perf script output file from the raw perf.data file? If not you'll need to.

I have the same issue.

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.