Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19065694rwd; Wed, 28 Jun 2023 04:46:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47XI36aYpp+SbutTLOrifqDJ1i0VkTU8mBxMoAEwRQj9SPkB4MYOUz34Q27jEoQcc+DbL+ X-Received: by 2002:a05:6a20:2455:b0:105:66d3:8572 with SMTP id t21-20020a056a20245500b0010566d38572mr1378902pzc.24.1687952764812; Wed, 28 Jun 2023 04:46:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687952764; cv=none; d=google.com; s=arc-20160816; b=OSvShO6aUhmghRW1iHsv2u8iLRYcgw2eoMY+1Ykzf1f16/sIJ/8FsKaWAHCaR1osZR AkLBYcMC+jBkSfQmb74vuQP91oqEeWFC9KESeQHyCGaHM+jOQHTFmfgWu8Aj06JcJYcS dbsDAQgZZcV7ZlolfB2gRbe95vt55HdM6FBD27P0LuewT1BwqzIA+V/LUFw5kwAZB2uq cql3pwfnqB+S0R8PRKd7yaL0OuGyQt/BJN67owgvZs/SJD8M0uriUMUvXe94oV5Vsp0H kM6XF8mhS9wIe+1mzqyuuYh4z2pbwn2sQlslz/9oJDfgMP3pDK8CvzlIzjnSZDko5z8x dVcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=n7ljktPqETOzUKZZ7+RYuR4TnY6eRyGwzYc9Q0p7Df8=; fh=Ajl5gRGDxRI1hK9GUtT9aok1+RFE004aq+sXCMxO6C8=; b=NWNK27YdYZ8HMG7eXSnlQa9ss+RuKCnShWB0RQ+hC94zbXeMSJ0DI5ec0+GxxrsE1w hEnTciUEMhKIUcFxNYbZHhwXaL++G1jB6BwhDMpexYQAdWAaXC/2WU7SCiuahD4p2Msn xfL6x1uUDS+Lc5LhU4+mKDg/9aq6bFQ0yAwXdzi3cemPp+t912lZSugqS+CH2xGf8mk4 IbRhl2UD1vpepJ/IiL3QONAquyn519jI5BPM1ZMY5vxThb40kGvL/IpW496Dt/akP/3S YwDz9lDoCss78o+NQTw9QLkIS4qoUPXS66l4Wsi11KiQ/8PtjqnyquSdeJZhch24tAm5 UG7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f28-20020a631f1c000000b0052c8234a858si9171993pgf.168.2023.06.28.04.45.52; Wed, 28 Jun 2023 04:46:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231368AbjF1Kx4 (ORCPT + 99 others); Wed, 28 Jun 2023 06:53:56 -0400 Received: from foss.arm.com ([217.140.110.172]:53596 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230523AbjF1KxS (ORCPT ); Wed, 28 Jun 2023 06:53:18 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 464F2113E; Wed, 28 Jun 2023 03:54:01 -0700 (PDT) Received: from e127643.arm.com (unknown [10.57.27.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 323833F663; Wed, 28 Jun 2023 03:53:15 -0700 (PDT) From: James Clark To: linux-perf-users@vger.kernel.org, acme@kernel.org, masahiroy@kernel.org, leo.yan@linaro.org, broonie@kernel.org, Aishwarya.TCV@arm.com Cc: James Clark , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-kernel@vger.kernel.org Subject: [PATCH v1 1/1] perf tools: Add a place to put kernel config fragments for test runs Date: Wed, 28 Jun 2023 11:53:02 +0100 Message-Id: <20230628105303.4053478-2-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230628105303.4053478-1-james.clark@arm.com> References: <20230628105303.4053478-1-james.clark@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Defconfig doesn't give full coverage for a perf test run, so these can be merged with defconfig to do so. It's not complete yet, but is a starting point as a place to add to when a specific test needs something extra to run. Signed-off-by: James Clark --- tools/perf/tests/config-fragments/README | 7 +++++++ tools/perf/tests/config-fragments/arm64 | 1 + tools/perf/tests/config-fragments/config | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 tools/perf/tests/config-fragments/README create mode 100644 tools/perf/tests/config-fragments/arm64 create mode 100644 tools/perf/tests/config-fragments/config diff --git a/tools/perf/tests/config-fragments/README b/tools/perf/tests/config-fragments/README new file mode 100644 index 000000000000..fe7de5d93674 --- /dev/null +++ b/tools/perf/tests/config-fragments/README @@ -0,0 +1,7 @@ +This folder is for kernel config fragments that can be merged with +defconfig to give full test coverage of a perf test run. This is only +an optimistic set as some features require hardware support in order to +pass and not skip. + +'config' is shared across all platforms, and for arch specific files, +the file name should match that used in the ARCH=... make option. diff --git a/tools/perf/tests/config-fragments/arm64 b/tools/perf/tests/config-fragments/arm64 new file mode 100644 index 000000000000..64c4ab17cd58 --- /dev/null +++ b/tools/perf/tests/config-fragments/arm64 @@ -0,0 +1 @@ +CONFIG_CORESIGHT_SOURCE_ETM4X=y diff --git a/tools/perf/tests/config-fragments/config b/tools/perf/tests/config-fragments/config new file mode 100644 index 000000000000..c340b3195fca --- /dev/null +++ b/tools/perf/tests/config-fragments/config @@ -0,0 +1,11 @@ +CONFIG_TRACEPOINTS=y +CONFIG_STACKTRACE=y +CONFIG_NOP_TRACER=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_FTRACE=y +CONFIG_FTRACE_SYSCALLS=y +CONFIG_BRANCH_PROFILE_NONE=y -- 2.34.1