Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1074264pxy; Thu, 22 Apr 2021 22:40:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmo+eEc6fHTmrIkuHwT0LSHmoeMXZOFYzyNEUDmp2/XG1yVleGreF8mUCA0btSCDU+iSev X-Received: by 2002:aa7:db95:: with SMTP id u21mr2381521edt.152.1619156408149; Thu, 22 Apr 2021 22:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619156408; cv=none; d=google.com; s=arc-20160816; b=DFSvpTMACoRqRORRjLXzYG5s5PzESjBGPtWuyJMnF+hR7QuodtcwLyemx2Tbb4gQ4V ND6OOu9X9b9YriNh51ecl4vC13FfCgNRlGJlu88nhYh5s2OyHPtZtrJ29dTf+UFOU+PT OuB9/hXTXNh1VEL2DbKc9YTJz80+vJfEvWRrYK/nPPdruvnrj/W0oYwFgVLVAsX3Rihp FEZ+gtFC0MUv3N1rdIWT+2gCdRNKWyUDTpnr2MJUHyUc4kfamA+aKz1Hi/ipG4W49Z// wpiCB0ONPp+BoL+MtpKcrNdyFhWTy/zFCYwFP0XmRQcsLpH9j3suHopMI6HJRUAXDDC5 9FgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:ironport-sdr:ironport-sdr; bh=nlG17L9Bm72cGDxhm1sR7lE0gG1MDYphVsq5UalCtik=; b=T4lnUN5L8X+bjcNVP5hsHERIvYz98hhZCLmh4kdlb7ZhyQ55nUdJUM7oWdTfp2C2WG gHPlCe6seP/S7zeTxF8AuYRPs7U8Gm8McsNQ2uXFgG+UpTSYxX/m6yXN1ADFuDQUwCxo 2vUfTPImL6ZOCZ3tF1lUqMxkv6HlRcgXT962HYEyfbEK0kpZGfMN9D30cFozriQT/i/o 3Ve2Obsl3KAdivzEeOm+OrrKxJuHwC0RG5jDeFOP/uCA4981IO6ia6vq0xk8//VfK5Oh h8Sy/itSL4s9xJ7ADjiGmmtVAsP11am7oGTZIekTnx/QeiHbKyyZwlFB07QS6sGYjz8W Cfag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z19si4422065eji.473.2021.04.22.22.39.43; Thu, 22 Apr 2021 22:40:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241026AbhDWFi0 (ORCPT + 99 others); Fri, 23 Apr 2021 01:38:26 -0400 Received: from mga18.intel.com ([134.134.136.126]:9354 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240757AbhDWFiI (ORCPT ); Fri, 23 Apr 2021 01:38:08 -0400 IronPort-SDR: hGP8g9RKrwBHZRSPLTwp93wXKh+11Khu9DkpwU0k8DP2R3xJ/r6Sm5f7S/LvjPRrSFKN4gYXtg NauWKUxbKlig== X-IronPort-AV: E=McAfee;i="6200,9189,9962"; a="183501865" X-IronPort-AV: E=Sophos;i="5.82,244,1613462400"; d="scan'208";a="183501865" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2021 22:37:32 -0700 IronPort-SDR: acXV4SP5K7sil1tKPf6rNhFT7oKUK/DQ2m+95S0OmkH2lGPGKK8l0Pz8AvPTNSpKABWBBbdva5 8RQyzjVzp7XA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,244,1613462400"; d="scan'208";a="386293737" Received: from kbl-ppc.sh.intel.com ([10.239.159.163]) by orsmga006.jf.intel.com with ESMTP; 22 Apr 2021 22:37:28 -0700 From: Jin Yao To: acme@kernel.org, jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com Cc: Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com, Jin Yao Subject: [PATCH v5 20/26] perf tests: Skip 'Setup struct perf_event_attr' test for hybrid Date: Fri, 23 Apr 2021 13:35:35 +0800 Message-Id: <20210423053541.12521-21-yao.jin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210423053541.12521-1-yao.jin@linux.intel.com> References: <20210423053541.12521-1-yao.jin@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For hybrid, the attr.type consists of pmu type id + original type. There will be much changes for this test. Now we temporarily skip this test case and TODO in future. Signed-off-by: Jin Yao --- v5: - Since it's skip the test case, return TEST_SKIP. tools/perf/tests/attr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/tests/attr.c b/tools/perf/tests/attr.c index dd39ce9b0277..9b40a25376ae 100644 --- a/tools/perf/tests/attr.c +++ b/tools/perf/tests/attr.c @@ -34,6 +34,7 @@ #include "event.h" #include "util.h" #include "tests.h" +#include "pmu.h" #define ENV "PERF_TEST_ATTR" @@ -184,6 +185,9 @@ int test__attr(struct test *test __maybe_unused, int subtest __maybe_unused) char path_dir[PATH_MAX]; char *exec_path; + if (perf_pmu__has_hybrid()) + return TEST_SKIP; + /* First try development tree tests. */ if (!lstat("./tests", &st)) return run_dir("./tests", "./perf"); -- 2.17.1