Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232660

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

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] perf tools: Enable event_config terms to tracepoint events
Date 2015-09-25 10:40 +0200
Message-ID <qcwHU-4uB-11@gated-at.bofh.it> (permalink)
References <qcrRU-6eR-5@gated-at.bofh.it> <qcrRU-6eR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] perf tools: Prompt error message for wrong terms of hw/sw events He Kuang <hekuang@huawei.com> - 2015-09-25 05:30 +0200
  [PATCH 2/2] perf tools: Enable event_config terms to tracepoint events He Kuang <hekuang@huawei.com> - 2015-09-25 05:30 +0200
    Re: [PATCH 2/2] perf tools: Enable event_config terms to tracepoint  events Jiri Olsa <jolsa@redhat.com> - 2015-09-25 10:30 +0200
    Re: [PATCH 2/2] perf tools: Enable event_config terms to tracepoint  events Jiri Olsa <jolsa@redhat.com> - 2015-09-25 10:40 +0200
  Re: [PATCH 1/2] perf tools: Prompt error message for wrong terms of  hw/sw events Jiri Olsa <jolsa@redhat.com> - 2015-09-25 10:20 +0200

csiph-web