Re: [RFC][PATCH 13/21] tracing: Add simple expression support to hist triggers

2017-02-14 Thread Tom Zanussi
Hi Namhyung, On Tue, 2017-02-14 at 11:37 +0900, Namhyung Kim wrote: > On Wed, Feb 08, 2017 at 11:25:09AM -0600, Tom Zanussi wrote: > > Add support for simple addition, subtraction, and unary expressions > > (-(expr) and expr, where expr = b-a, a+b, a+b+c) to hist triggers, in > > order to support

Re: [RFC][PATCH 13/21] tracing: Add simple expression support to hist triggers

2017-02-13 Thread Namhyung Kim
On Wed, Feb 08, 2017 at 11:25:09AM -0600, Tom Zanussi wrote: > Add support for simple addition, subtraction, and unary expressions > (-(expr) and expr, where expr = b-a, a+b, a+b+c) to hist triggers, in > order to support a minimal set of useful inter-event calculations. > > These operations are n

[RFC][PATCH 13/21] tracing: Add simple expression support to hist triggers

2017-02-08 Thread Tom Zanussi
Add support for simple addition, subtraction, and unary expressions (-(expr) and expr, where expr = b-a, a+b, a+b+c) to hist triggers, in order to support a minimal set of useful inter-event calculations. These operations are needed for calculating latencies between events (timestamp1-timestamp0)