diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2021-07-07 15:08:21 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-07-07 17:14:21 +0000 |
| commit | 26c563731056c3ee66f91106c3078a8c36bb7a9e (patch) | |
| tree | 770d40aacb5530ab3cf707e06974bb70abe4005c /drivers/gpu/drm/omapdrm/omap_irq.c | |
| parent | tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT (diff) | |
| download | kernel-26c563731056c3ee66f91106c3078a8c36bb7a9e.tar.gz kernel-26c563731056c3ee66f91106c3078a8c36bb7a9e.zip | |
tracing/histograms: Fix parsing of "sym-offset" modifier
With the addition of simple mathematical operations (plus and minus), the
parsing of the "sym-offset" modifier broke, as it took the '-' part of the
"sym-offset" as a minus, and tried to break it up into a mathematical
operation of "field.sym - offset", in which case it failed to parse
(unless the event had a field called "offset").
Both .sym and .sym-offset modifiers should not be entered into
mathematical calculations anyway. If ".sym-offset" is found in the
modifier, then simply make it not an operation that can be calculated on.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Daniel Bristot de Oliveira <[email protected]>
Cc: [email protected]
Fixes: 100719dcef447 ("tracing: Add simple expression support to hist triggers")
Reviewed-by: Tom Zanussi <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions
