OSDN Git Service

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)
commit2d2f6d4b8ce738ef43fc3436b43cecd2fea64152
treea2709fa4949c33b7b7a14894e5c3fda348594978
parent722eddaa4043acee8f031cf238ced5f7514ad638
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