]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/histogram: Update division by 0 documentation
authorKalesh Singh <kaleshsingh@google.com>
Fri, 29 Oct 2021 18:33:28 +0000 (11:33 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Nov 2021 00:46:29 +0000 (20:46 -0400)
commit56dedc2d93ff667e0622ad71e1fbb4ce5735505b
treefabdf5a8687aa930965db05fd35e4ce4c259fb14
parent77d0e2dcacecba3ccfc7f3712540f39b6a515bc9
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>
Documentation/trace/histogram.rst