commit | 03418373fd1e80030e7394b8e3e081c5de28a710 | [log] [tgz] |
---|---|---|
author | Tom Zanussi <tom.zanussi@linux.intel.com> | Mon Jan 07 18:02:34 2019 -0600 |
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | Mon Feb 04 08:44:17 2019 -0600 |
tree | a2aec157f4e23cdf1dd88262cd8a9dc8b7aa5ede | |
parent | 67748dbeaf2b1240c0b87588df4bb0fb9471a751 [diff] |
tracing: Use str_has_prefix() in synth_event_create() 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 <tom.zanussi@linux.intel.com> Cc: Joe Perches <joe@perches.com>