Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/platforms/android/cpp-profiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ project(android-cmake-flashlight)
set(CMAKE_CXX_STANDARD 17)

add_executable(BAMPerfProfiler src/main.cpp src/atrace.cpp src/utils.cpp)

# Android 15+ devices can use 16 KB memory pages; a binary whose LOAD segments are only 4 KB-aligned
# segfaults there. NDK r28+ does this by default, this keeps older NDKs working too.
target_link_options(BAMPerfProfiler PRIVATE -Wl,-z,max-page-size=16384)
Binary file not shown.
Binary file not shown.
Binary file modified packages/platforms/android/cpp-profiler/bin/BAMPerfProfiler-x86
Binary file not shown.
Binary file not shown.