uftrace: remove libfakeprofiler

Replaced by "libmcount-nop.so".
This commit is contained in:
Leonid Pliushch 2019-08-28 16:20:46 +03:00
parent 8b6263339f
commit 76f2ae3519
2 changed files with 1 additions and 9 deletions

View File

@ -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
}

View File

@ -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) {}