Comments (2)
@Zabrane currently eflambe:capture/3
is block call that waits for something else running on your Erlang node to invoke the lists:seq/2
function. The third element in the tuple for the first argument needs to be the arity, not the arguments themselves. The correct arguments to this function would be:
> eflambe:capture({lists, seq, 2}, 1, [{open, speedscope}]).
However, if you just want to profile lists:seq/2
directly, you can use the eflambe:apply/2
function, and pass in the arguments:
> eflambe:apply({lists, seq, [1, 10]}, [{open, speedscope}]).
Successful finished trace
Output filename: ./1642802698322929-eflambe-output.bggg
[1,2,3,4,5,6,7,8,9,10]
I am going to commit a fix so the third element in the module function arity tuple is validated to be an integer to catch invalid calls.
Hope this helps! Let me know if you have any other issues or suggestions.
from eflambe.
@Stratus3D amazing, thanks for the clarifications.
from eflambe.
Related Issues (13)
- [ENHANCEMENTS] Scaling widths by metrics + callstack categorisation/grouping HOT 4
- Document common usage patterns HOT 5
- Update hex package to newest version with newest changes HOT 2
- Fix links on hex.pm
- Add support for older Erlang versions HOT 3
- Add option to return raw flamegraph data for statistical analysis HOT 1
- Remove eflambe calls from flamegraph output?
- Write tracing data to disk asynchronously so as to save memory?
- Fix timeout issue when formatting large traces HOT 1
- Endless spew of unexpected trace event HOT 7
- Describe units in documentation HOT 2
- Setup Github Actions workflow to validate code
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 eflambe.