]> 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)
commitab369fbeff8219d78e2d5da7afd3bca89b8ca82a
treea2709fa4949c33b7b7a14894e5c3fda348594978
parent08d5d5afd62bdb2e79ce61b4383eca0bacea568e
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