Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eca81836 authored by Michael Lentine's avatar Michael Lentine Committed by Jiri Olsa
Browse files

perf tools: Add automatic remapping of Android libraries



This patch automatically adjusts the path of MMAP records
associated with Android system libraries.

The Android system is organized with system libraries found in
/system/lib and user libraries in /data/app-lib. On the host system
(not running Android), system libraries can be found in the downloaded
NDK directory under ${NDK_ROOT}/platforms/${APP_PLATFORM}/arch-${ARCH}/usr/lib
and the user libraries are installed under libs/${APP_ABI} within
the apk build directory. This patch makes running the reporting
tools possible on the host system using the libraries from the NDK.

Signed-off-by: default avatarMichael Lentine <mlentine@google.com>
Reviewed-by: default avatarStephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1400579330-5043-3-git-send-email-eranian@google.com


[ fixed 'space required before the open parenthesis' checkpatch.pl errors ]
Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
parent 21cfc5e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment