Re: [PATCH 2/2] perf tools: Enable event_config terms to tracepoint events

From: Jiri Olsa
Date: Fri Sep 25 2015 - 04:31:23 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/