Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-14 Thread Tom Zanussi
Hi Namhyung, On Fri, 2017-07-14 at 11:33 +0900, Namhyung Kim wrote: > On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > > log2 as currently implemented applies only to u64 trace_event_field > > derived fields, and assumes that anything it's applied to is a u64 > > field. > > > > To

Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-14 Thread Tom Zanussi
Hi Namhyung, On Fri, 2017-07-14 at 11:33 +0900, Namhyung Kim wrote: > On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > > log2 as currently implemented applies only to u64 trace_event_field > > derived fields, and assumes that anything it's applied to is a u64 > > field. > > > > To

Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-13 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > log2 as currently implemented applies only to u64 trace_event_field > derived fields, and assumes that anything it's applied to is a u64 > field. > > To prepare for synthetic fields like latencies, log2 should be > applicable to those

Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-13 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > log2 as currently implemented applies only to u64 trace_event_field > derived fields, and assumes that anything it's applied to is a u64 > field. > > To prepare for synthetic fields like latencies, log2 should be > applicable to those

[PATCH 02/32] tracing: Reimplement log2

2017-06-26 Thread Tom Zanussi
log2 as currently implemented applies only to u64 trace_event_field derived fields, and assumes that anything it's applied to is a u64 field. To prepare for synthetic fields like latencies, log2 should be applicable to those as well, so take the opportunity now to fix the current problems as well

[PATCH 02/32] tracing: Reimplement log2

2017-06-26 Thread Tom Zanussi
log2 as currently implemented applies only to u64 trace_event_field derived fields, and assumes that anything it's applied to is a u64 field. To prepare for synthetic fields like latencies, log2 should be applicable to those as well, so take the opportunity now to fix the current problems as well