Comments (9)
Yes, the UI should say "empty file" or something, instead of crashing. Needs to be fixed.
from flamescope.
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.
I've got the same issue on all perf files generated from jvm applications. Here's an example: perf-54606.data.gz
from flamescope.
@brendangregg can you check this example file? I'll also add a another issue to track general file error handling.
from flamescope.
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.
@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.
@smarter did you produce perf script
output file from the raw perf.data
file? If not you'll need to.
from flamescope.
@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.
@ceeaspb can you please elaborate on :
@smarter did you produce
perf script
output file from the rawperf.data
file? If not you'll need to.
I have the same issue.
from flamescope.
Related Issues (20)
- Use npm or yarn (not both) HOT 1
- add an upload endpoint HOT 2
- more caching in parsed events
- Adding eBPF profiler support HOT 1
- Python 3.8 doesn't work with Werkzeug 0.15.3 in current requirements.txt HOT 2
- Can I ask where is the pip package? HOT 1
- ImportError: cannot import name 'Feature' from 'setuptools' HOT 4
- perf flamegraphs: no tooltips HOT 5
- Heatmap offsets memory cache not being populated
- Missing samples in what flamescope displays HOT 2
- missing button icons
- sluggish interaction with d3 plugins HOT 1
- No pre-built client bundle in the master branch HOT 4
- Add y-axis label markers to help people understand the visualisation HOT 2
- HTTP ERROR 404 HOT 1
- Nothing at this URL HOT 10
- UnicodeDecodeError exception is raised when an unreadable file is in profile dir
- Is it possible to add a new record player or delete function on the web? HOT 1
- How do you use these two functions? (Open as Netflix Profile/Open as Chrome CPU Profile) HOT 1
- Idle regexp eats up softirq frames HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flamescope.