Re: [PATCH] tracing: Add WARN_ON_ONCE for syscall_nr check

From: Tao Chen
Date: Thu Nov 28 2024 - 21:51:34 EST


在 2024/11/28 23:03, Steven Rostedt 写道:
On Thu, 28 Nov 2024 21:15:31 +0800
Tao Chen <chen.dylane@xxxxxxxxx> wrote:

Hi, Steve, thank you for your reply, as you say, so what about
pr_warn_once api just to print something ?

A better solution is for there to be a return code or something where the
tracers (perf or ftrace) can record in the trace that the system call is
not supported.

-- Steve

Hi,Steve,thank you for your suggestion. I'll see if it can be implemented.

--
Best Regards
Dylane Chen