Re: [PATCH] samples/ftrace: reject zero ftrace-ops call count

From: Steven Rostedt

Date: Wed Jun 10 2026 - 20:13:14 EST


On Tue, 9 Jun 2026 07:26:27 -0400
Samuel Moelius <sam.moelius@xxxxxxxxxxxxxxx> wrote:

> Is it okay to keep the same subject line or should I change it?

Yeah, and also note that the tracing subsystem uses capital letters:

samples/ftrace: Reject zero ftrace-ops call count

But you can change it to:

samples/ftrace: Prevent division by zero when nr_function_calls is zero

-- Steve