linux-s390.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] make weak attributes in {k,u}probes
@ 2022-09-17  1:55 Yipeng Zou
  2022-09-17  1:55 ` [PATCH 1/2] kprobes: make arch_init_kprobes as weak Yipeng Zou
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Yipeng Zou @ 2022-09-17  1:55 UTC (permalink / raw)
  To: x86, linux-arm-kernel, linux-kernel, linux-csky, linux-riscv,
	linux-perf-users, linux-s390, guoren, paul.walmsley, palmer, hca,
	gor, borntraeger, dave.hansen, hpa, naveen.n.rao,
	anil.s.keshavamurthy, mhiramat, namit, catalin.marinas, peterz,
	mark.rutland
  Cc: liaochang1, chris.zjh, zouyipeng

We have some function implementation under some arch does nothing.
We can mark it with weak attributes to improve.
1. arch_init_kprobes in kprobes
2. arch_uprobe_exception_notify in uprobes

Yipeng Zou (2):
  kprobes: make arch_init_kprobes as weak
  uprobes: make arch_uprobe_exception_notify as weak

 arch/arm/probes/uprobes/core.c     | 6 ------
 arch/arm64/kernel/probes/uprobes.c | 6 ------
 arch/csky/kernel/probes/kprobes.c  | 5 -----
 arch/csky/kernel/probes/uprobes.c  | 6 ------
 arch/riscv/kernel/probes/kprobes.c | 5 -----
 arch/riscv/kernel/probes/uprobes.c | 6 ------
 arch/s390/kernel/kprobes.c         | 5 -----
 arch/x86/kernel/kprobes/core.c     | 5 -----
 kernel/events/uprobes.c            | 6 ++++++
 kernel/kprobes.c                   | 5 +++++
 10 files changed, 11 insertions(+), 44 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2022-09-21  8:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17  1:55 [PATCH 0/2] make weak attributes in {k,u}probes Yipeng Zou
2022-09-17  1:55 ` [PATCH 1/2] kprobes: make arch_init_kprobes as weak Yipeng Zou
2022-09-17  1:55 ` [PATCH 2/2] uprobes: make arch_uprobe_exception_notify " Yipeng Zou
2022-09-17 10:58 ` [PATCH 0/2] make weak attributes in {k,u}probes Guo Ren
2022-09-20 17:02 ` Naveen N. Rao
2022-09-21  8:25   ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).