Re: [PATCH v12 01/16] tracing: Use str_has_prefix() in synth_event_create()

2019-01-16 Thread Tom Zanussi
Hi Joe, On Tue, 2019-01-15 at 20:59 -0800, Joe Perches wrote: > On Tue, 2019-01-15 at 16:05 -0600, Tom Zanussi wrote: > > Since we now have a str_has_prefix() that returns the length, we > > can > > use that instead of explicitly calculating it. > > [] > > diff --git

Re: [PATCH v12 01/16] tracing: Use str_has_prefix() in synth_event_create()

2019-01-15 Thread Joe Perches
On Tue, 2019-01-15 at 16:05 -0600, Tom Zanussi wrote: > Since we now have a str_has_prefix() that returns the length, we can > use that instead of explicitly calculating it. [] > diff --git a/kernel/trace/trace_events_hist.c > b/kernel/trace/trace_events_hist.c [] > @@ -1200,8 +1200,7 @@ static

[PATCH v12 01/16] tracing: Use str_has_prefix() in synth_event_create()

2019-01-15 Thread Tom Zanussi
From: Tom Zanussi Since we now have a str_has_prefix() that returns the length, we can use that instead of explicitly calculating it. Signed-off-by: Tom Zanussi --- kernel/trace/trace_events_hist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git