Re: [RFC 0/4] perf record: Implement off-cpu profiling with BPF (v1)

From: Namhyung Kim
Date: Fri Apr 22 2022 - 10:53:38 EST


Hi Jiri,

On Fri, Apr 22, 2022 at 3:11 AM Jiri Olsa <olsajiri@xxxxxxxxx> wrote:
>
> On Thu, Apr 21, 2022 at 10:33:57PM -0700, Namhyung Kim wrote:
>
> SNIP
>
> > The perf bench sched messaging created 400 processes to send/receive
> > messages through unix sockets. It spent a large portion of cpu cycles
> > for audit filter and read/copy the messages while most of the
> > offcpu-time was in read and write calls.
> >
> > You can get the code from 'perf/offcpu-v1' branch in my tree at
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
> >
> > Enjoy! :)
>
> CC builtin-record.o
> builtin-record.c:52:10: fatal error: util/off_cpu.h: No such file or directory
> 52 | #include "util/off_cpu.h"
>
> forgot to add util/off_cpu.h ?

Oops, you're right. Will resend soon.

Thanks,
Namhyung