Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ SRC /home/runner/work/oil/oil/_build/deps-source/uftrace/uftrace-0.13 ~/work/oil/oil/_build/wedge/tmp/uftrace-0.13 ~/work/oil/oil ~/work/oil/oil/_build/wedge/tmp/uftrace-0.13 ~/work/oil/oil/_build/wedge/tmp/uftrace-0.13 ~/work/oil/oil Usage: /home/runner/work/oil/oil/_build/deps-source/uftrace/uftrace-0.13/configure [] --help print this message --prefix= set install root dir as (default: /usr/local) --bindir= set executable install dir as (default: ${prefix}/bin) --libdir= set library install dir as (default: ${prefix}/lib) --mandir= set manual doc install dir as (default: ${prefix}/share/man) --objdir= set build dir as (default: ${PWD}) --sysconfdir= override the etc dir as --with-elfutils= search for elfutils in /include and /lib --without-libelf build without libelf (and libdw) (even if found on the system) --without-libdw build without libdw (even if found on the system) --without-libstdc++ build without libstdc++ (even if found on the system) --without-libpython build without libpython (even if found on the system) --without-libluajit build without libluajit (even if found on the system) --without-libncurses build without libncursesw (even if found on the system) --without-libunwind build without libunwind (even if found on the system) --without-capstone build without libcapstone (even if found on the system) --without-perf build without perf event (even if available) --without-schedule build without scheduler event (even if available) --arch= set target architecture (default: system default arch) e.g. x86_64, aarch64, i386, or arm --cross-compile= Specify the compiler prefix during compilation e.g. CC is overridden by $(CROSS_COMPILE)gcc --cflags= pass extra C compiler flags --ldflags= pass extra linker flags -p preserve old setting -o output filename Some influential environment variables: ARCH Target architecture e.g. x86_64, aarch64, i386, or arm CROSS_COMPILE Specify the compiler prefix during compilation e.g. CC is overridden by $(CROSS_COMPILE)gcc CFLAGS C compiler flags LDFLAGS linker flags uftrace detected system features: ... prefix: /wedge/oils-for-unix.org/pkg/uftrace/0.13 ... libelf: [ OFF ] - more flexible ELF data handling ... libdw: [ OFF ] - DWARF debug info support ... libpython: [ OFF ] - python scripting support ... libluajit: [ OFF ] - luajit scripting support ... libncursesw: [ on ] - TUI support ... cxa_demangle: [ on ] - full demangler support with libstdc++ ... perf_event: [ on ] - perf (PMU) event support ... schedule: [ on ] - scheduler event support ... capstone: [ OFF ] - full dynamic tracing support ... libunwind: [ OFF ] - stacktrace support (optional for debugging) GEN version.h CC uftrace.o CC cmds/dump.o CC cmds/graph.o CC cmds/info.o CC cmds/live.o CC cmds/record.o CC cmds/recv.o CC cmds/replay.o CC cmds/report.o CC cmds/script.o CC cmds/tui.o CC utils/argspec.o CC utils/auto-args.o CC utils/data-file.o CC utils/debug.o CC utils/demangle.o CC utils/dwarf.o CC utils/event.o CC utils/extern.o CC utils/field.o CC utils/filter.o CC utils/fstack.o CC utils/graph.o CC utils/hashmap.o CC utils/kernel.o CC utils/pager.o CC utils/perf.o CC utils/rbtree.o CC utils/regs.o CC utils/report.o CC utils/script-luajit.o CC utils/script-python.o CC utils/script.o CC utils/session.o CC utils/socket.o CC utils/symbol-libelf.o CC utils/symbol-rawelf.o CC utils/symbol.o CC utils/tracefs.o CC utils/utils.o CC arch/x86_64/cpuinfo.o CC arch/x86_64/symbol.o LINK arch/x86_64/uftrace.o FLAGS: * new build flags or cross compiler CC FPIC libtraceevent/event-parse.o CC FPIC libtraceevent/event-plugin.o CC FPIC libtraceevent/trace-seq.o CC FPIC libtraceevent/parse-filter.o CC FPIC libtraceevent/parse-utils.o CC FPIC libtraceevent/kbuffer-parse.o LINK libtraceevent/libtraceevent.a LINK uftrace CC FPIC libmcount/dynamic.op CC FPIC libmcount/event.op CC FPIC libmcount/mcount.op CC FPIC libmcount/misc.op CC FPIC libmcount/plthook.op CC FPIC libmcount/pmu.op CC FPIC libmcount/record.op CC FPIC libmcount/wrap.op CC FPIC libmcount/debug.op CC FPIC libmcount/regs.op CC FPIC libmcount/rbtree.op CC FPIC libmcount/filter.op CC FPIC libmcount/demangle.op CC FPIC libmcount/utils.op CC FPIC libmcount/script.op CC FPIC libmcount/script-python.op CC FPIC libmcount/script-luajit.op CC FPIC libmcount/auto-args.op CC FPIC libmcount/dwarf.op CC FPIC libmcount/hashmap.op CC FPIC libmcount/argspec.op CC FPIC libmcount/tracefs.op CC FPIC libmcount/socket.op CC FPIC libmcount/symbol-libelf.op CC FPIC libmcount/symbol-rawelf.op CC FPIC libmcount/symbol.op ASM arch/x86_64/dynamic.op ASM arch/x86_64/fentry.op ASM arch/x86_64/mcount.op ASM arch/x86_64/plthook.op ASM arch/x86_64/xray.op CC FPIC arch/x86_64/mcount-dynamic.op CC FPIC arch/x86_64/mcount-event.op CC FPIC arch/x86_64/mcount-insn.op CC FPIC arch/x86_64/mcount-noplt.op CC FPIC arch/x86_64/mcount-support.op CC FPIC arch/x86_64/symbol.op LINK arch/x86_64/mcount-entry.op LINK libmcount/libmcount.so CC FPIC libmcount/dynamic-fast.op CC FPIC libmcount/event-fast.op CC FPIC libmcount/mcount-fast.op CC FPIC libmcount/misc-fast.op CC FPIC libmcount/plthook-fast.op CC FPIC libmcount/pmu-fast.op CC FPIC libmcount/record-fast.op CC FPIC libmcount/wrap-fast.op LINK libmcount/libmcount-fast.so CC FPIC libmcount/dynamic-single.op CC FPIC libmcount/event-single.op CC FPIC libmcount/mcount-single.op CC FPIC libmcount/misc-single.op CC FPIC libmcount/plthook-single.op CC FPIC libmcount/pmu-single.op CC FPIC libmcount/record-single.op CC FPIC libmcount/wrap-single.op LINK libmcount/libmcount-single.so CC FPIC libmcount/dynamic-fast-single.op CC FPIC libmcount/event-fast-single.op CC FPIC libmcount/mcount-fast-single.op CC FPIC libmcount/misc-fast-single.op CC FPIC libmcount/plthook-fast-single.op CC FPIC libmcount/pmu-fast-single.op CC FPIC libmcount/record-fast-single.op CC FPIC libmcount/wrap-fast-single.op LINK libmcount/libmcount-fast-single.so CC FPIC libmcount/mcount-nop.op LINK libmcount/libmcount-nop.so CC misc/demangler.o LINK misc/demangler CC misc/symbols.o LINK misc/symbols CC misc/dbginfo.o LINK misc/dbginfo real 0m30.762s user 0m27.217s sys 0m3.220s ~/work/oil/oil/_build/wedge/tmp/uftrace-0.13 ~/work/oil/oil ~/work/oil/oil Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ /home/runner/work/oil/oil/_build/wedge/tmp/uftrace-0.13 /home/runner/work/oil/oil CC uftrace.o LINK uftrace INSTALL uftrace INSTALL libmcount INSTALL bash-completion Makefile:36: To install man pages, please install 'pandoc'. real 0m0.473s user 0m0.378s sys 0m0.089s /home/runner/work/oil/oil Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ SMOKE TEST ~/work/oil/oil/_build/wedge/smoke-test/uftrace-0.13 ~/work/oil/oil + wedge-smoke-test /wedge/oils-for-unix.org/pkg/uftrace/0.13 /home/runner/work/oil/oil/_build/deps-source/uftrace/ + local install_dir=/wedge/oils-for-unix.org/pkg/uftrace/0.13 + local wedge_dir=/home/runner/work/oil/oil/_build/deps-source/uftrace/ + local uftrace=/wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace + /wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace --version + tee version.txt uftrace v0.13 ( x86_64 python3 tui perf sched ) + grep python3 version.txt uftrace v0.13 ( x86_64 python3 tui perf sched ) + echo 'Python 3 support found' Python 3 support found + cc -pg -o hello /home/runner/work/oil/oil/_build/deps-source/uftrace//hello.c + /wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace record hello Hello world + /wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace replay hello # DURATION TID FUNCTION 0.761 us [ 65919] | __monstartup(); 0.140 us [ 65919] | __cxa_atexit(); [ 65919] | main() { 8.416 us [ 65919] | printf(); 8.826 us [ 65919] | } /* main */ + /wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace script -S /home/runner/work/oil/oil/_build/deps-source/uftrace//plugin.py script begin {'record': False, 'version': 'v0.13 ( x86_64 python3 tui perf sched )', 'cmds': ()} function entry {'tid': 65919, 'depth': 0, 'timestamp': 476860414227, 'address': 94150104088736, 'name': '__monstartup'} function exit {'tid': 65919, 'depth': 0, 'timestamp': 476860414988, 'address': 94150104088736, 'name': '__monstartup', 'duration': 761} function entry {'tid': 65919, 'depth': 0, 'timestamp': 476860416010, 'address': 94150104088752, 'name': '__cxa_atexit'} function exit {'tid': 65919, 'depth': 0, 'timestamp': 476860416150, 'address': 94150104088752, 'name': '__cxa_atexit', 'duration': 140} function entry {'tid': 65919, 'depth': 0, 'timestamp': 476860417393, 'address': 94150104089111, 'name': 'main'} function entry {'tid': 65919, 'depth': 1, 'timestamp': 476860417533, 'address': 94150104088720, 'name': 'printf'} function exit {'tid': 65919, 'depth': 1, 'timestamp': 476860425949, 'address': 94150104088720, 'name': 'printf', 'duration': 8416} function exit {'tid': 65919, 'depth': 0, 'timestamp': 476860426219, 'address': 94150104089111, 'name': 'main', 'duration': 8826} TypeError: uftrace_end() missing 1 required positional argument: 'ctx' + set +x ~/work/oil/oil OK