Giter Club home page Giter Club logo

Comments (4)

chesik-amd avatar chesik-amd commented on June 16, 2024

Currently, the profiler only supports valid ELF executables. I've logged a feature request so we can investigate adding support for scripts as well.

Also, I tried profiling /usr/bin/python2.7 and on my system (an Ubuntu 16.04 system), rcprof is able to profile it. I don't see the same "/usr/bin/python2.7 is not a valid application" error you reported.

from radeon_compute_profiler.

axeldavy avatar axeldavy commented on June 16, 2024

I use archlinux.

Some applications get the "is not a valid application" error, some others don't. I figured out when I recompile applications I compiled a few months ago, they now get the "is not a valid application".
I fail to find an explanation.

EDIT: with readelf It looks like the executable that get the error have the flag 'DYN' instead of 'EXEC'.

EDIT2: It looks like recent compilers have -pie default (which gives DYN). Enforcing -no-pie gives EXEC and rcprof runs. The correct fix should be have rcprof accept DYN too.

from radeon_compute_profiler.

chesik-amd avatar chesik-amd commented on June 16, 2024

There was a change included in v5.2 which relaxes the check for a valid ELF executable. Could you try the 5.2 release to see if it works better for you?

from radeon_compute_profiler.

axeldavy avatar axeldavy commented on June 16, 2024

I confirm the issue is fixed with the last version of CodeXL (2.5).

I close the issue.

from radeon_compute_profiler.

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.