]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/histogram: Document expression arithmetic and constants
authorKalesh Singh <kaleshsingh@google.com>
Mon, 25 Oct 2021 20:08:40 +0000 (13:08 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 27 Oct 2021 00:27:20 +0000 (20:27 -0400)
commite89cda3c3ba08df5ab0e4eae64fd3e196212b0e9
treea2709fa4949c33b7b7a14894e5c3fda348594978
parent9f3ab97f0a2a8c769b525c87565d2d6bbf915d8b
tracing/histogram: Document expression arithmetic and constants

Histogram expressions now support division, and multiplication in
addition to the already supported subtraction and addition operators.

Numeric constants can also be used in a hist trigger expressions
or assigned to a variable and used by refernce in an expression.

Link: https://lkml.kernel.org/r/20211025200852.3002369-9-kaleshsingh@google.com
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Documentation/trace/histogram.rst