Comments (12)
This should be fixable :)
from perfgrind.
Did you profile contains any hits to the executable binary itself? I've got only hits to libc.so and ld-linux.so, but after increasing frequency and disabling software events managed to get hit to the executable itself.
I'm afraid the workload we're profiling is just too small to collect any meaningful data.
from perfgrind.
Did you profile contains any hits to the executable binary itself?
Yes, but not when I retried that.
I've got only hits to libc.so and ld-linux.so, but after increasing frequency and disabling software events managed to get hit to the executable itself.
Seen that on re-testing. But even with a higher frequency and no software event and binaries in the profile I'm back to the original problem: objdump is called with address that doesn't exist because pgconvert put that into the cachegrind profile. Do you see the same?
from perfgrind.
Nope, everything looks to be working fine for me. Can you provide me with your binary, pgdata and grind files?
from perfgrind.
Sure. check.zip
from perfgrind.
Well, looks to be working fine for me:
from perfgrind.
Does that include the machine code for all functions in pginfo_dbg? This is where the error is we track under this issue is most visible.
from perfgrind.
Ok, got it finally. Your executable is PIE, this is not handled properly in pgconvert.
from perfgrind.
Is this issue likely to stay open or can you have a look at this in the next weeks? In the former case we should update the README, possibly linking this issue to document this regression.
from perfgrind.
Ok, I was wrong: non-PIE executables have wrong instructions dump as well.
from perfgrind.
Should be fixed by 0a8fd1c, please test.
from perfgrind.
I didn't checked that specific commit but do so that current master fixed that.
from perfgrind.
Related Issues (20)
- calling "very flat" callgraphs with bad function names HOT 13
- Can't create performance event file descriptor: No such file or directory HOT 8
- FR: pgconvert from `perf record` created file HOT 1
- FR: add `-z` option to pgconvert (compress on the fly via zstd) HOT 2
- FR pgcollect: add `‐-max-size` to stop profiling early HOT 2
- compiler warnings concerning formatting for 64bit integers HOT 1
- external addon: script to combine events HOT 9
- FR pgconvert: optional second filename to specify output file HOT 10
- Should PLT hits be counted "special"? HOT 3
- FR: add `install` and `uninstall` targets HOT 1
- Can we get rid of the 10+ year old branches? HOT 4
- FR: GitHub metadata - "About" HOT 1
- Question: does this repo contain kernel code? HOT 7
- FR: GitHub metadata - Releases
- bug in pgcollect: `--` not handled correctly; overwriting executables HOT 4
- FR: create debian package HOT 1
- FR pgcollect: add `-a` "all cpus" option - or similar HOT 4
- pgcollect: option to use PID and timestamp of started/attached process as part of the output file HOT 1
- Failing to start collection with mmap error HOT 5
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 perfgrind.