Messages in this thread | | | Date | Fri, 25 Sep 2015 10:31:09 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH 2/2] perf tools: Enable event_config terms to tracepoint events |
| |
On Fri, Sep 25, 2015 at 03:21:19AM +0000, He Kuang wrote:
SNIP
> } > > +__event_legacy_tracepoint: > +PE_NAME '-' PE_NAME ':' PE_NAME > +{ > + char sys_name[128]; > + struct str_group group; > + > + snprintf(&sys_name, 128, "%s-%s", $1, $3); > + group.name1 = &sys_name; > + group.name2 = $5; > + > + $$ = group; > +} > +| > +PE_NAME ':' PE_NAME > +{ > + struct str_group group = {$1, $3}; > + $$ = group; > +} > + > event_legacy_numeric: > PE_VALUE ':' PE_VALUE > { > -- > 1.8.5.2 >
please split this into adding the tracepoint terms parsing support and the new tracepoint terms config logic
thanks, jirka
| |