[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150925083109.GF21290@krava.redhat.com>
Date: Fri, 25 Sep 2015 10:31:09 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: He Kuang <hekuang@...wei.com>
Cc: a.p.zijlstra@...llo.nl, mingo@...hat.com, acme@...nel.org,
jolsa@...nel.org, kan.liang@...el.com, adrian.hunter@...el.com,
wangnan0@...wei.com, pi3orama@....com, linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists