linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf] fprobe, samples: Add module parameter descriptions
@ 2022-06-23 22:31 Masami Hiramatsu (Google)
  2022-06-24 22:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Masami Hiramatsu (Google) @ 2022-06-23 22:31 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: Masami Hiramatsu, Jiri Olsa, Steven Rostedt, linux-kernel, netdev, bpf

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Add module parameter descriptions for the fprobe_example module.

Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
---
 samples/fprobe/fprobe_example.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/samples/fprobe/fprobe_example.c b/samples/fprobe/fprobe_example.c
index 01ee6c8c8382..18b1e5c4b431 100644
--- a/samples/fprobe/fprobe_example.c
+++ b/samples/fprobe/fprobe_example.c
@@ -25,12 +25,19 @@ static unsigned long nhit;
 
 static char symbol[MAX_SYMBOL_LEN] = "kernel_clone";
 module_param_string(symbol, symbol, sizeof(symbol), 0644);
+MODULE_PARM_DESC(symbol, "Probed symbol(s), given by comma separated symbols or a wildcard pattern.");
+
 static char nosymbol[MAX_SYMBOL_LEN] = "";
 module_param_string(nosymbol, nosymbol, sizeof(nosymbol), 0644);
+MODULE_PARM_DESC(nosymbol, "Not-probed symbols, given by a wildcard pattern.");
+
 static bool stackdump = true;
 module_param(stackdump, bool, 0644);
+MODULE_PARM_DESC(stackdump, "Enable stackdump.");
+
 static bool use_trace = false;
 module_param(use_trace, bool, 0644);
+MODULE_PARM_DESC(use_trace, "Use trace_printk instead of printk. This is only for debugging.");
 
 static void show_backtrace(void)
 {


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

* Re: [PATCH bpf] fprobe, samples: Add module parameter descriptions
  2022-06-23 22:31 [PATCH bpf] fprobe, samples: Add module parameter descriptions Masami Hiramatsu (Google)
@ 2022-06-24 22:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-06-24 22:30 UTC (permalink / raw)
  To: Masami Hiramatsu
  Cc: ast, daniel, andrii, jolsa, rostedt, linux-kernel, netdev, bpf

Hello:

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

On Fri, 24 Jun 2022 07:31:35 +0900 you wrote:
> From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
> 
> Add module parameter descriptions for the fprobe_example module.
> 
> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
> ---
>  samples/fprobe/fprobe_example.c |    7 +++++++
>  1 file changed, 7 insertions(+)

Here is the summary with links:
  - [bpf] fprobe, samples: Add module parameter descriptions
    https://git.kernel.org/bpf/bpf/c/179a93f74b29

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:[~2022-06-24 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 22:31 [PATCH bpf] fprobe, samples: Add module parameter descriptions Masami Hiramatsu (Google)
2022-06-24 22:30 ` 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;
as well as URLs for NNTP newsgroup(s).