[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180614192513.GX12217@hirez.programming.kicks-ass.net>
Date: Thu, 14 Jun 2018 21:25:13 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
linux-kernel@...r.kernel.org, jolsa@...hat.com
Subject: Re: [PATCH v1 4/6] perf: Allow using AUX data in perf samples
On Tue, Jun 12, 2018 at 10:51:15AM +0300, Alexander Shishkin wrote:
> @@ -882,6 +890,7 @@ struct perf_sample_data {
> */
> u64 addr;
> struct perf_raw_record *raw;
> + struct perf_aux_record aux;
> struct perf_branch_stack *br_stack;
> u64 period;
> u64 weight;
> @@ -933,6 +942,7 @@ static inline void perf_sample_data_init(struct perf_sample_data *data,
> /* remaining struct members initialized in perf_prepare_sample() */
> data->addr = addr;
> data->raw = NULL;
> + data->aux.from = data->aux.to = data->aux.size = 0;
> data->br_stack = NULL;
> data->period = period;
> data->weight = 0;
You just blew that cacheline...
Powered by blists - more mailing lists