[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240712131016.GI27299@noisy.programming.kicks-ass.net>
Date: Fri, 12 Jul 2024 15:10:16 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Andrii Nakryiko <andrii.nakryiko@...il.com>
Cc: oleg@...hat.com, mingo@...nel.org, andrii@...nel.org,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
rostedt@...dmis.org, mhiramat@...nel.org, jolsa@...nel.org,
clm@...a.com, paulmck@...nel.org
Subject: Re: [PATCH v2 00/11] perf/uprobe: Optimize uprobes
On Thu, Jul 11, 2024 at 09:57:44PM -0700, Andrii Nakryiko wrote:
> Anyways, if you'd like to use it, it's at [0]. All you should need to
> build and run it is:
>
> $ cd examples/c
> $ make -j$(nproc) uprobe-stress
> $ sudo ./uprobe-stress -tN -aM -mP -fR
> [0] https://github.com/libbpf/libbpf-bootstrap/commit/2f88cef90f9728ec8c7bee7bd48fdbcf197806c3
So, I cannot clone that [0] URL I had to click around github shite for a
while to figure out wtf to clone and where your commit lives, turns out
it is:
$ git clone https://github.com/libbpf/libbpf-bootstrap.git
$ cd libbpf-bootstrap
$ git checkout uprobe-stress
But then I do the above and I'm greeted with:
root@...-ep:/usr/src/libbpf-bootstrap/examples/c# make -j40
MKDIR .output
MKDIR .output/libbpf
MKDIR bpftool
LIB libbpf.a
BPFTOOL bpftool/bootstrap/bpftool
make[1]: *** /usr/src/libbpf-bootstrap/libbpf/src: No such file or directory. Stop.
make: *** [Makefile:87: /usr/src/libbpf-bootstrap/examples/c/.output/libbpf.a] Error 2
make: *** Waiting for unfinished jobs....
make[1]: *** /usr/src/libbpf-bootstrap/bpftool/src: No such file or directory. Stop.
make: *** [Makefile:95: /usr/src/libbpf-bootstrap/examples/c/.output/bpftool/bootstrap/bpftool] Error 2
Now what ?!?
BPF is ever such unusable shite :/ It's very near as bad as qemu.
Powered by blists - more mailing lists