Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libmono-profiler-log.so binaries #7

Closed
wants to merge 5 commits into from

Conversation

jonathanpeppers
Copy link
Owner

@jonathanpeppers jonathanpeppers commented Mar 7, 2023

I built these from the tip of:

https://github.com/dotnet/runtime/tree/release/7.0

To build, I ran:

./build.sh -os android -arch x86 -c Release -pack
./build.sh -os android -arch x64 -c Release -pack
./build.sh -os android -arch arm -c Release -pack
./build.sh -os android -arch arm64 -c Release -pack

Other changes:

  • Bump to 7.0.1
  • Update various projects to net7.0

I built these from the tip of:

https://github.com/dotnet/runtime/tree/release/7.0

To build, I ran:

    ./build.sh -os android -arch x86 -c Release -pack
    ./build.sh -os android -arch x64 -c Release -pack
    ./build.sh -os android -arch arm -c Release -pack
    ./build.sh -os android -arch arm64 -c Release -pack
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Mar 8, 2023
Context: jonathanpeppers/Mono.Profiler.Android#7

This gets things further, but doesn't fully work:

    03-08 11:55:22.909 17150 17150 W monodroid: Initializing profiler with options: log:calls,output=/data/user/0/com.mono.profiler.helloandroid/files/.__override__/profile.mlpd
    03-08 11:55:22.910 17150 17150 I monodroid-assembly: Trying to load shared library '/data/app/~~rcpOoWK9a_3JchgDKSqibw==/com.mono.profiler.helloandroid-idytaFjgVoWfT2SoQY9Nkg==/lib/x86_64/libmono-profiler-log.so'
    03-08 11:55:22.910 17150 17150 W monodroid: Looking for profiler init symbol 'mono_profiler_init_log'? 0x0
    03-08 11:55:22.910 17150 17150 I monodroid-assembly: Trying to load shared library '/data/app/~~rcpOoWK9a_3JchgDKSqibw==/com.mono.profiler.helloandroid-idytaFjgVoWfT2SoQY9Nkg==/lib/x86_64/libmono-profiler-log.so'
    03-08 11:55:22.910 17150 17150 W monodroid: Looking for profiler init symbol 'mono_profiler_init_log'? 0x0
    03-08 11:55:22.911 17150 17150 W monodroid: The 'log' profiler wasn't found in the main executable nor could it be loaded from 'libmono-profiler-log.so'.
@jonathanpeppers
Copy link
Owner Author

Closing this in favor of dotnet-trace: dotnet/android#7875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant