Giter VIP home page Giter VIP logo

Comments (12)

ostash avatar ostash commented on June 3, 2024 1

This should be fixable :)

from perfgrind.

ostash avatar ostash commented on June 3, 2024

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.

GitMensch avatar GitMensch commented on June 3, 2024

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.

ostash avatar ostash commented on June 3, 2024

Nope, everything looks to be working fine for me. Can you provide me with your binary, pgdata and grind files?

from perfgrind.

GitMensch avatar GitMensch commented on June 3, 2024

Sure. check.zip

from perfgrind.

ostash avatar ostash commented on June 3, 2024

Well, looks to be working fine for me:

image

from perfgrind.

GitMensch avatar GitMensch commented on June 3, 2024

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.

ostash avatar ostash commented on June 3, 2024

Ok, got it finally. Your executable is PIE, this is not handled properly in pgconvert.

from perfgrind.

GitMensch avatar GitMensch commented on June 3, 2024

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.

ostash avatar ostash commented on June 3, 2024

Ok, I was wrong: non-PIE executables have wrong instructions dump as well.

from perfgrind.

ostash avatar ostash commented on June 3, 2024

Should be fixed by 0a8fd1c, please test.

from perfgrind.

GitMensch avatar GitMensch commented on June 3, 2024

I didn't checked that specific commit but do so that current master fixed that.

from perfgrind.

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.