diff options
author | Kalesh Singh <kaleshsingh@google.com> | 2021-10-29 11:33:28 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-11-01 20:46:29 -0400 |
commit | 0ca6d12c9768ee15e6c7d65ddb5cb35c05946e1e (patch) | |
tree | fabdf5a8687aa930965db05fd35e4ce4c259fb14 /kernel/trace/trace.c | |
parent | 8b5d46fd7a3892a2e71c9ba6330f1b46d533d0a0 (diff) |
tracing/histogram: Update division by 0 documentation
If the divisor is a constant and zero, the undeifned case can be
detected and an error returned instead of -1.
Link: https://lkml.kernel.org/r/20211029183339.3216491-3-kaleshsingh@google.com
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions