[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4cupgimwMHYzHXuTynxgs6oWuw46Z6DW2oyyAuszExmQ@mail.gmail.com>
Date: Wed, 26 Feb 2020 21:50:30 -0800
From: Song Liu <song@...nel.org>
To: Jiri Olsa <jolsa@...nel.org>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Andrii Nakryiko <andriin@...com>, Yonghong Song <yhs@...com>,
Song Liu <songliubraving@...com>,
Martin KaFai Lau <kafai@...com>,
Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...hat.com>,
Björn Töpel <bjorn.topel@...el.com>,
John Fastabend <john.fastabend@...il.com>,
Jesper Dangaard Brouer <hawk@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: Re: [PATCH 16/18] perf tools: Synthesize bpf_trampoline/dispatcher
ksymbol event
On Wed, Feb 26, 2020 at 5:06 AM Jiri Olsa <jolsa@...nel.org> wrote:
>
> Synthesize bpf images (trampolines/dispatchers) on start,
> as ksymbol events from /proc/kallsyms. Having this perf
> can recognize samples from those images and perf report
> and top shows them correctly.
>
> The rest of the ksymbol handling is already in place from
> for the bpf programs monitoring, so only the initial state
> was needed.
>
> perf report output:
>
> # Overhead Command Shared Object Symbol
>
> 12.37% test_progs [kernel.vmlinux] [k] entry_SYSCALL_64
> 11.80% test_progs [kernel.vmlinux] [k] syscall_return_via_sysret
> 9.63% test_progs bpf_prog_bcf7977d3b93787c_prog2 [k] bpf_prog_bcf7977d3b93787c_prog2
> 6.90% test_progs bpf_trampoline_24456 [k] bpf_trampoline_24456
> 6.36% test_progs [kernel.vmlinux] [k] memcpy_erms
>
> Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Acked-by: Song Liu <songliubraving@...com>
Powered by blists - more mailing lists