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


Groups > linux.kernel > #1255379

Re: [PATCH 19/57] perf tools: Add attr_update event

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 19/57] perf tools: Add attr_update event
Date 2015-10-25 13:30 +0100
Message-ID <qnsAW-2Wk-19@gated-at.bofh.it> (permalink)
References <qkaKe-3Nh-3@gated-at.bofh.it> <qkaKf-3Nh-45@gated-at.bofh.it> <qlpQS-7V3-27@gated-at.bofh.it> <qmj6G-4MD-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 22, 2015 at 10:01:46AM +0200, Jiri Olsa wrote:
> On Mon, Oct 19, 2015 at 06:00:04PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Fri, Oct 16, 2015 at 12:40:54PM +0200, Jiri Olsa escreveu:
> > > It'll server as base event for additional event attributes
> > > details, that are not part of the attr event.
> > > 
> > > At the moment this event is just dummy one without specific
> > > functionality. The type value will distinguish the update
> > > event details. It comes in following patches.
> > > 
> > > The idea for this event is to be extensible for any update
> > > that attr event might need in the future.
> > 
> > "Update"? Found it confusing, how about calling it "add event
> > attribute", because that is what this is doing, adding attributes, like
> > "unit" (Joules, MiB, nsec, etc), "scale", etc.
> 
> well, we have PERF_RECORD_HEADER_ATTR event based on which the
> event is created.. so PERF_RECORD_HEADER_ATTR_UPDATE seemed
> like good choice.. anyway, how about:
> 
>   PERF_RECORD_ADD_EVENT_ATTR
>   PERF_RECORD_EVENT_ATTR
>   PERF_RECORD_EVENT_UPDATE

choosing the PERF_RECORD_EVENT_UPDATE for next version..

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 | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 19/57] perf tools: Add attr_update event Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-10-19 23:10 +0200
  Re: [PATCH 19/57] perf tools: Add attr_update event Jiri Olsa <jolsa@redhat.com> - 2015-10-22 10:10 +0200
    Re: [PATCH 19/57] perf tools: Add attr_update event Jiri Olsa <jolsa@redhat.com> - 2015-10-25 13:30 +0100

csiph-web