Comments (3)
Thanks for the suggestions. What kind of issues did you have?
The reason that PERF_FLAME_OUTPUT
defaults to the current directory is that the output file is a "real product" of the call so I wouldn't want it to default to a possibly transient directory.
from perf-map-agent.
I agree with the argument. Here is how I used the tool:
$ # clone the repo
$ # install
$ # did NOT create the symlinks
$ launch my app on a different term
$ cd /path/to/perf-map-agent
$ ./bin/perf-java-flames $PID
With the suggestions to resolve the real path of perf-map-agent
, in the end, I got the result in root directory of perf-map-agent
. I agree this is not critical and due to how I used the tool. However, I would also not want to pollute the git repo for perf-map-agent
when using it.
Without the suggestions to resolve the real path of `perf-map-agent, I actually got an exception about failing to load the agent which makes sense because of how I used the tool.
from perf-map-agent.
I just found out that the script really was broken and it just worked for me before only because of an unclean work directory. I fixed it in the launcher script (adding the out
directory) as you suggested and added extra diagnostic output to the Java attacher in case the library is missing.
Thanks for raising this issue.
from perf-map-agent.
Related Issues (20)
- 'jvmticmlr.h' file not found HOT 1
- perf script using perf-java-report-stack output will get "Misordered timestamps: 0"
- perf-map-agent as jvmti agent on start HOT 4
- Unable to load agent sence Premain-Class manifest attribute is missing HOT 1
- Perf not listing more than 1 line in JVM stack HOT 4
- Lack of perf PMU event HOT 1
- Some C stack frames with Java ancestor not correctly shown HOT 9
- Improve support for JSVC
- bump up to new version for new release?
- Clarify license of shell scripts
- JDK inline info not accurate in all cases HOT 1
- when do i have to create the map HOT 2
- time to generate map file HOT 2
- ./bin/dtrace-java-record-stack is not working HOT 1
- Can't compile on Raspberry 4 with jdk 8u181
- Trouble to attach with high PID value HOT 1
- Running create-java-perf-map.sh in different containers in the same pod reports an error? HOT 2
- java.io.IOException: No such process HOT 1
- bjdump: /tmp/perf-1390290.map: File format not recognized HOT 3
- Cross-compiling for Aarch64 HOT 3
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 perf-map-agent.