lkml.org 
[lkml]   [2016]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2016-07-06 14:21    [W:0.054 / U:6.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site