lkml.org 
[lkml]   [2015]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-09-25 11:01    [W:0.091 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site