From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754516AbdBTRRT (ORCPT ); Mon, 20 Feb 2017 12:17:19 -0500 Received: from mga05.intel.com ([192.55.52.43]:51728 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbdBTRRR (ORCPT ); Mon, 20 Feb 2017 12:17:17 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,187,1484035200"; d="scan'208";a="1100275732" From: Alexander Shishkin To: kbuild test robot Cc: kbuild-all@01.org, Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, vince@deater.net, eranian@google.com, Arnaldo Carvalho de Melo , Will Deacon , Mathieu Poirier Subject: Re: [PATCH 2/4] perf: Keep AUX flags in the output handle In-Reply-To: <201702210006.zGh9SrWS%fengguang.wu@intel.com> References: <201702210006.zGh9SrWS%fengguang.wu@intel.com> User-Agent: Notmuch/0.23.5 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Mon, 20 Feb 2017 19:17:13 +0200 Message-ID: <87d1ecixye.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kbuild test robot writes: > All errors (new ones prefixed by >>): > > In file included from ./arch/arm64/include/generated/asm/local.h:1:0, > from drivers/hwtracing/coresight/coresight-etb10.c:15: > drivers/hwtracing/coresight/coresight-etb10.c: In function 'etb_update_buffer': >>> drivers/hwtracing/coresight/coresight-etb10.c:431:17: error: 'struct cs_buffers' has no member named 'lost' > local_inc(&buf->lost); > ^ > include/asm-generic/local.h:30:40: note: in definition of macro 'local_inc' Ah shoot. Peter, can you fold this in: >>From 8272adc208eb2ad874e3952766282624d035ea50 Mon Sep 17 00:00:00 2001 From: Alexander Shishkin Date: Mon, 20 Feb 2017 19:15:27 +0200 Subject: [PATCH] fixup! perf: Keep AUX flags in the output handle --- drivers/hwtracing/coresight/coresight-etb10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-etb10.c b/drivers/hwtracing/coresight/coresight-etb10.c index 82c8ddcf09..979ea6ec79 100644 --- a/drivers/hwtracing/coresight/coresight-etb10.c +++ b/drivers/hwtracing/coresight/coresight-etb10.c @@ -428,7 +428,7 @@ static void etb_update_buffer(struct coresight_device *csdev, if (read_ptr > (drvdata->buffer_depth - 1)) read_ptr -= drvdata->buffer_depth; /* let the decoder know we've skipped ahead */ - local_inc(&buf->lost); + perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED); } /* finally tell HW where we want to start reading from */ -- 2.11.0