[PATCH bpf-next v10 0/2] selftests/bpf: Optimize kallsyms cache

Rong Tao posted 2 patches 2 years, 3 months ago
Only 1 patches received!
There is a newer version of this series
samples/bpf/Makefile                          |   4 +
.../selftests/bpf/prog_tests/fill_link_info.c |   9 +-
.../prog_tests/kprobe_multi_testmod_test.c    |  24 ++-
tools/testing/selftests/bpf/trace_helpers.c   | 141 +++++++++++++-----
tools/testing/selftests/bpf/trace_helpers.h   |  10 +-
5 files changed, 141 insertions(+), 47 deletions(-)
[PATCH bpf-next v10 0/2] selftests/bpf: Optimize kallsyms cache
Posted by Rong Tao 2 years, 3 months ago
From: Rong Tao <rongtao@cestc.cn>

We need to optimize the kallsyms cache, including optimizations for the
number of symbols limit, and, some test cases add new kernel symbols
(such as testmods) and we need to refresh kallsyms (reload or refresh).

Rong Tao (2):
  selftests/bpf: trace_helpers.c: optimize kallsyms cache
  selftests/bpf: trace_helpers.c: Add a global ksyms initialization
    mutex

 samples/bpf/Makefile                          |   4 +
 .../selftests/bpf/prog_tests/fill_link_info.c |   9 +-
 .../prog_tests/kprobe_multi_testmod_test.c    |  24 ++-
 tools/testing/selftests/bpf/trace_helpers.c   | 141 +++++++++++++-----
 tools/testing/selftests/bpf/trace_helpers.h   |  10 +-
 5 files changed, 141 insertions(+), 47 deletions(-)

-- 
2.41.0
Re: [PATCH bpf-next v10 0/2] selftests/bpf: Optimize kallsyms cache
Posted by Rong Tao 2 years, 3 months ago
Hi, every one.

I'm so sorry, that i'm not familier with 'how to submit patch series',
I just sent some emails repeatedly using the git send-email command,
please ignore the error messages.

PS: How to send patch collections using git send-email?

Rong Tao
Re: [PATCH bpf-next v10 0/2] selftests/bpf: Optimize kallsyms cache
Posted by Yafang Shao 2 years, 3 months ago
On Sat, Sep 2, 2023 at 1:24 PM Rong Tao <rtoax@foxmail.com> wrote:
>
> Hi, every one.
>
> I'm so sorry, that i'm not familier with 'how to submit patch series',
> I just sent some emails repeatedly using the git send-email command,
> please ignore the error messages.
>
> PS: How to send patch collections using git send-email?

$ git send-email --to <outreachy mailing list if required> --cc
<addresses from get_maintainer.pl output> /tmp/*.patch

See also the section "Using git format-patch to send patchsets" in
https://kernelnewbies.org/FirstKernelPatch

-- 
Regards
Yafang