Messages in this thread | | | Date | Thu, 11 Jan 2018 11:58:20 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf evsel: Fix incorrect handling of type _TERM_DRV_CFG |
| |
Em Thu, Jan 11, 2018 at 03:51:19PM +0100, Jiri Olsa escreveu: > On Wed, Jan 10, 2018 at 01:46:51PM -0700, Mathieu Poirier wrote: > > Commit ("d0565132605f perf evsel: Enable type checking for > > perf_evsel_config_term types") assumes PERF_EVSEL__CONFIG_TERM_DRV_CFG > > isn't used and as such adds a BUG_ON(). > > > > Since the enumeration type is used in macro ADD_CONFIG_TERM() the change > > break CoreSight trace acquisition. > > > > This patch restores the original code. > > > > Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> > > Acked-by: Jiri Olsa <jolsa@kernel.org>
Thanks, applied, and this affects only perf/core,
- Arnaldo
| |