[PATCH 3/3] tracing: Add field modifier parsing hist error for hist triggers

2018-04-26 Thread Tom Zanussi
If the user specifies an invalid field modifier for a hist trigger, the current code correctly flags that as an error, but doesn't tell the user what happened. Fix this by invoking hist_err() with an appropriate message when invalid modifiers are specified. Before: # echo

[PATCH 3/3] tracing: Add field modifier parsing hist error for hist triggers

2018-04-26 Thread Tom Zanussi
If the user specifies an invalid field modifier for a hist trigger, the current code correctly flags that as an error, but doesn't tell the user what happened. Fix this by invoking hist_err() with an appropriate message when invalid modifiers are specified. Before: # echo