Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2308757rdb; Mon, 5 Feb 2024 02:26:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5GJ6N/yk6ykX/Efg35S3L5r46X+FT+8J+ugKGaKpVb3Q7J6FQ7ws7vuWUgV3Ch7xALQ8/ X-Received: by 2002:a05:620a:127a:b0:785:3c91:648 with SMTP id b26-20020a05620a127a00b007853c910648mr12106475qkl.71.1707128797120; Mon, 05 Feb 2024 02:26:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707128797; cv=pass; d=google.com; s=arc-20160816; b=p/YkVmN55nbhQ0StO4W2K/7Z01YDAATLzmpLMbW/u1mUcf8L4xpJ8jeCTMlr2gFvi5 A8tKeS+Gn06Z+MLCVxpQVKEjUStoLjlelQ78OFCjZCtkpeawOiN8pDD7dl+oPue8TDDZ aAXbVC9Cn8wNJMe27VLAqCKpYRw0LaO79jciQOKYrhWW574w8kWqihO7XY0nDbRqGoda NBDod8jrLctBZSjCxaChMjpOLoLKbkOgEZSin/9QJGCksmJC9p6cFp2TUsAxK9yxYvvO mC8tZjWz9nP8qVEsN4WGcOH0W+x0YZ5rlzfgtELKbhbunuMtff0eVvXie8jSPRflQwmW 0EDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=5K9JK5EHUPubcoibBukUSNpILdlQOSO9xg8M7yoNXqo=; fh=1n0AIAZ/37FmhnZSNsdsoYfHE8tsnfNWld+teBxuHj8=; b=Z+ChxRcIujH62C8RAtdz2UBeBZioVbnribgn15Ehtbzn68SHEyDbku6DRBLdH3iLvz GvLKpaP9Nho9rcQ1JfupWWY9uJc0SvU7UbcdnAHbMtEYFj1Q3gmtmAjtR57bu2kU7l2t Bv8hPur0fJvgje6hgeNss/VIXbl6Gc6peOTpCdL3GRBoM7dYA94t67tL/LE7/6mjGxkX eqZWF8tiOpyOGXuQrx1bJAeqirWxRBEsM8F0Xg+BzM0QvDwvfQI5FvhuIHs6EuD5lZuU 8kO+ku8X6kl9Z655gDagwPmdecF9wBv9Sq+zCfrslJDdOZeT6L1Zn1LSyG0pVq+3VvEQ dnSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-52408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52408-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVH6D5j8PwRYqqnw8ptT+fyaP+fvktYToBKKo6l7ttkN+5sLzTNvv0zP9R3TjR/2SGaR0IGR69Wj/QwDH/V7xDBOVq5DNLsn6xY9lM82w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m17-20020a05620a215100b007853e36ffe4si7922354qkm.76.2024.02.05.02.26.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 02:26:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-52408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52408-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8D5ED1C22E82 for ; Mon, 5 Feb 2024 10:25:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24DEC171AD; Mon, 5 Feb 2024 10:25:38 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C19517541; Mon, 5 Feb 2024 10:25:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707128737; cv=none; b=avfUQh/tCegEMwDGrDNXA3bxYPqB6occti/u5DxBCGGTvmQX2jXTDjzvdIMkMhaqXfNMNKSeJ7YrMtaEl016Ygd2Cf1trW46rXIFigO8ZDqjV3bJ3VgNdttARRTO5F6KD8mZlKEK4Bh6nhGbkTxgMRGBNao7RhoRTL3ZNvwGnLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707128737; c=relaxed/simple; bh=eRrFp2JexEbtNp6FWh3iMXTIaeLisx2WjsRpctM6ZEY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UNjI5uJy0K45mAt5lhlXYYpLYkuRaL4AEnSPb0YF3I+caM8fGo21kmCovB/1gmWIN0rKsht1E1vl4NEWK9KLAhFSr/90kTl6tlek5FQgp2Nyulf5ZfgDd+2B2wYJqHfFaOnIdKxAtahgANX0pCYj6wnKUcyXwApBrd8yAFyNMZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B45CC433C7; Mon, 5 Feb 2024 10:25:34 +0000 (UTC) Date: Mon, 5 Feb 2024 05:25:32 -0500 From: Steven Rostedt To: Vincent Donnefort Cc: kernel test robot , mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, oe-kbuild-all@lists.linux.dev, mathieu.desnoyers@efficios.com, kernel-team@android.com Subject: Re: [PATCH v13 3/6] tracing: Add snapshot refcount Message-ID: <20240205052532.37c65148@rorschach.local.home> In-Reply-To: References: <20240129142802.2145305-4-vdonnefort@google.com> <202401301740.qzZlpcYV-lkp@intel.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 30 Jan 2024 10:32:45 +0000 Vincent Donnefort wrote: > > All errors (new ones prefixed by >>): > > > > kernel/trace/trace.c: In function 'tracing_set_tracer': > > kernel/trace/trace.c:6644:17: error: implicit declaration of function 'tracing_disarm_snapshot_locked'; did you mean 'tracing_disarm_snapshot'? [-Werror=implicit-function-declaration] > > 6644 | tracing_disarm_snapshot_locked(tr); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | tracing_disarm_snapshot > > >> kernel/trace/trace.c:6648:23: error: implicit declaration of function 'tracing_arm_snapshot_locked'; did you mean 'tracing_arm_snapshot'? [-Werror=implicit-function-declaration] > > 6648 | ret = tracing_arm_snapshot_locked(tr); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | tracing_arm_snapshot > > cc1: some warnings being treated as errors > > Right, two tracers (hwlat and osnoise) select _only_ MAX_TRACE and not > TRACER_SNAPSHOT. > > However, AFAICT, they will not call any of the swapping functions (they don't > set use_max_tr). So I suppose arm/disarm can be ommited in that case. Yeah, if you can test with the various configs enabled and disabled to make sure that it still builds properly, then that should be good. I should make sure that my own ktest config that I use to run tests checks these variations too. -- Steve