aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorKalesh Singh <[email protected]>2021-10-25 13:08:36 -0700
committerSteven Rostedt (VMware) <[email protected]>2021-10-26 20:27:19 -0400
commitc5eac6ee8bc5d32e48b3845472b547574061f49f (patch)
tree10595205f94eef9d1b4aeb5870d04560e9b7a96a /net/lapb/lapb_timer.c
parent9710b2f341a0d96f35b911580639853cfda4677d (diff)
tracing/histogram: Simplify handling of .sym-offset in expressions
The '-' in .sym-offset can confuse the hist trigger arithmetic expression parsing. Simplify the handling of this by replacing the 'sym-offset' with 'symXoffset'. This allows us to correctly evaluate expressions where the user may have inadvertently added a .sym-offset modifier to one of the operands in an expression, instead of bailing out. In this case the .sym-offset has no effect on the evaluation of the expression. The only valid use of the .sym-offset is as a hist key modifier. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kalesh Singh <[email protected]> Suggested-by: Steven Rostedt <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions