[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160706113710.GC26517@krava>
Date: Wed, 6 Jul 2016 13:37:10 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Wang Nan <wangnan0@...wei.com>
Cc: acme@...nel.org, linux-kernel@...r.kernel.org, pi3orama@....com,
lizefan@...wei.com, He Kuang <hekuang@...wei.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Jiri Olsa <jolsa@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Nilay Vaish <nilayvaish@...il.com>
Subject: Re: [PATCH v13 5/8] perf record: Read from overwritable ring buffer
On Mon, Jul 04, 2016 at 06:20:06AM +0000, Wang Nan wrote:
SNIP
> @@ -463,6 +488,7 @@ try_again:
>
> session->evlist = evlist;
> perf_session__set_id_hdr_size(session);
> + rec->overwrite_evt_state = OVERWRITE_EVT_RUNNING;
> out:
> return rc;
> }
> @@ -543,6 +569,79 @@ static struct perf_event_header finished_round_event = {
> .type = PERF_RECORD_FINISHED_ROUND,
> };
>
> +static void
> +record__toggle_overwrite_evsels(struct record *rec,
> + enum overwrite_evt_state state)
> +{
record__toggle_overwrite_evlist might be better name
jirka
Powered by blists - more mailing lists