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


Groups > linux.kernel > #1583415

Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to perf_aux_output_end

From Alexander Shishkin <alexander.shishkin@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to perf_aux_output_end
Date 2017-02-17 14:50 +0100
Message-ID <tbR57-4Vq-15@gated-at.bofh.it> (permalink)
References <t4j8d-7uS-11@gated-at.bofh.it> <t4j8d-7uS-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Will Deacon <will.deacon@arm.com> writes:

> @@ -485,7 +485,8 @@ int intel_bts_interrupt(void)
>  		return handled;
>  
>  	perf_aux_output_end(&bts->handle, local_xchg(&buf->data_size, 0),
> -			    !!local_xchg(&buf->lost, 0));
> +			    local_xchg(&buf->lost, 0) ?
> +			    PERF_AUX_FLAG_OVERWRITE : 0);

Heh, this one would have taken some time to debug. :)

Regards,
--
Alex

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


Thread

Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to perf_aux_output_end Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2017-02-17 14:50 +0100
  Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to  perf_aux_output_end Will Deacon <will.deacon@arm.com> - 2017-02-17 15:10 +0100
    Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to perf_aux_output_end Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2017-02-17 15:20 +0100
      Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to  perf_aux_output_end Will Deacon <will.deacon@arm.com> - 2017-02-17 15:50 +0100
        Re: [PATCH 07/10] perf: Directly pass PERF_AUX_* flags to perf_aux_output_end Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2017-02-17 16:10 +0100

csiph-web