mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH bpf-next v12 0/2] selftests/bpf: Optimize kallsyms cache
@ 2023-09-07  1:59 Rong Tao
  2023-09-08 23:40 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Rong Tao @ 2023-09-07  1:59 UTC (permalink / raw)
  To: olsajiri, andrii, daniel
  Cc: Rong Tao, Alexei Starovoitov, Martin KaFai Lau, Song Liu,
	Yonghong Song, John Fastabend, KP Singh, Stanislav Fomichev,
	Hao Luo, Jiri Olsa, Mykola Lysenko, Shuah Khan, Maxime Coquelin,
	Alexandre Torgue, Yafang Shao,
	open list:BPF [GENERAL] (Safe Dynamic Programs and Tools),
	open list, open list:KERNEL SELFTEST FRAMEWORK,
	moderated list:ARM/STM32 ARCHITECTURE,
	moderated list:ARM/STM32 ARCHITECTURE

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 |   2 +-
 .../prog_tests/kprobe_multi_testmod_test.c    |  20 ++-
 tools/testing/selftests/bpf/trace_helpers.c   | 134 +++++++++++++-----
 tools/testing/selftests/bpf/trace_helpers.h   |   8 +-
 5 files changed, 122 insertions(+), 46 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf-next v12 0/2] selftests/bpf: Optimize kallsyms cache
  2023-09-07  1:59 [PATCH bpf-next v12 0/2] selftests/bpf: Optimize kallsyms cache Rong Tao
@ 2023-09-08 23:40 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-09-08 23:40 UTC (permalink / raw)
  To: Rong Tao
  Cc: olsajiri, andrii, daniel, rongtao, ast, martin.lau, song,
	yonghong.song, john.fastabend, kpsingh, sdf, haoluo, jolsa,
	mykolal, shuah, mcoquelin.stm32, alexandre.torgue, laoar.shao,
	bpf, linux-kernel, linux-kselftest, linux-stm32,
	linux-arm-kernel

Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Thu,  7 Sep 2023 09:59:12 +0800 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [bpf-next,v12,1/2] selftests/bpf: trace_helpers.c: optimize kallsyms cache
    https://git.kernel.org/bpf/bpf-next/c/c698eaebdf47
  - [bpf-next,v12,2/2] selftests/bpf: trace_helpers.c: Add a global ksyms initialization mutex
    https://git.kernel.org/bpf/bpf-next/c/a28b1ba25934

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-08 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07  1:59 [PATCH bpf-next v12 0/2] selftests/bpf: Optimize kallsyms cache Rong Tao
2023-09-08 23:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®