Browse Source
uftrace: remove libfakeprofiler
Replaced by "libmcount-nop.so".
emacs-27
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with
1 additions and
9 deletions
-
packages/uftrace/build.sh
-
packages/uftrace/fakeprofiler.c
|
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://uftrace.github.io/slide |
|
|
|
TERMUX_PKG_DESCRIPTION="Function (graph) tracer for user-space" |
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
|
TERMUX_PKG_VERSION=0.9.3 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_REVISION=2 |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/namhyung/uftrace/archive/v${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
TERMUX_PKG_SHA256=d801d72e3cdd83c510aeecc5160482d879498cf08fffd21e64f84151001e18ea |
|
|
|
TERMUX_PKG_DEPENDS="capstone, libandroid-glob, libandroid-spawn, libelf, ncurses, python2" |
|
|
@ -19,9 +19,3 @@ termux_step_pre_configure() { |
|
|
|
export ARCH="$TERMUX_ARCH" |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_make_install() { |
|
|
|
$CC $CFLAGS $CPPFLAGS -c $TERMUX_PKG_BUILDER_DIR/fakeprofiler.c |
|
|
|
$CC $LDFLAGS -shared fakeprofiler.o -o libfakeprofiler.so |
|
|
|
install -Dm600 libfakeprofiler.so $TERMUX_PREFIX/lib/libfakeprofiler.so |
|
|
|
} |
|
|
|
|
|
@ -1,2 +0,0 @@ |
|
|
|
void __attribute__((no_instrument_function)) __cyg_profile_func_enter (void *this_fn, void *call_site) {} |
|
|
|
void __attribute__((no_instrument_function)) __cyg_profile_func_exit (void *this_fn, void *call_site) {} |