Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp53862pxy; Wed, 21 Apr 2021 18:17:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBxYxQQyvll2ILeZk4urZzLN3qdIQiYcY7FqesZihsfzsDuNyO8t5TJZb8l3caP5vYMzW9 X-Received: by 2002:a17:902:6b4c:b029:ec:a55f:f4e7 with SMTP id g12-20020a1709026b4cb02900eca55ff4e7mr762672plt.72.1619054241706; Wed, 21 Apr 2021 18:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054241; cv=none; d=google.com; s=arc-20160816; b=y0e9ljnhyvJmOpN+PSXQdPsvoLd8FPPLfb8ZKousKzrkTS4NFh0MhK+mrrW9kAl1+T uA9SM9w64rNfwUwGDgBfZkmrJw35jlO9Lvuy9d8p8Zb6v/wOiy92I/G5EAFDuRZiWste Zm/Ukv+X6/W8rc3AXd9WlYn0jtyBexUFGLd9Hlukubn0XGlUdJ9MgIX2UrdUHMLu4vlY lDmx7HAu/Ub1v7sEKIgI6H8CQmq2zN2X3uN7IjM4G07BCP6vdC41UjHOXOcD27SPYoEo 8Tk/rqydR6akY+fI1NQW6age1bQSdZBs7lNa09V44BZm2ZBubkY0Vjo1keYZjECOvRXb sHqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j0cBo14mgny3Xi9o+v7dupqnQehUF+MvtBLiXMCPNcE=; b=p2cEmrZ/p39zAcfNUQ4nzm/cpauL1tnPVjMSWoYXQhASBMYBY5obkeJTsMMwFJ4PvM ALVis28iwj8fyFYwCx/ii4avIhXfNisOIgLWa+d+bWTMqeyztnIMjPOxK/qWvTezNpNd mJ2LbLUtIHhcB9wUS2PmZVENE7oLddZ19omLo+ThbwguqwG60Kux6cgybxRgLYxki5AZ 2NaBGiN7Q5vLoI8nL9oF4VEnXLVJVmRiUPFZYBollUrE/8KLi7jvARKp+j7MThUGjqQg IMeCKr+gJM8OkgM/emy2Ka+5Q1//fnmLqgx2bT47oiLJEWDEufa6tu52z55YDELsjxRK vWsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CjvxaJ2C; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r10si1151019pff.291.2021.04.21.18.17.09; Wed, 21 Apr 2021 18:17:21 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CjvxaJ2C; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241040AbhDUSaY (ORCPT + 99 others); Wed, 21 Apr 2021 14:30:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:28305 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243990AbhDUSaJ (ORCPT ); Wed, 21 Apr 2021 14:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619029775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=j0cBo14mgny3Xi9o+v7dupqnQehUF+MvtBLiXMCPNcE=; b=CjvxaJ2CbzFdu1o0dfjuxDjUiYuZxBmbkMjhuiCkW781Tk9+ofT8YnIbYgukuWwwTr7eZQ y7N3/O4VdVG4qKGioG+USc/c/paBkUn5wX6w/f7J+0n5IibSyd0v8AzS91be03kz1rKZje 2pm0IrEMzYnEjdeyDqmDCQJ9C+VVPIY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-574-ScRGpHuWP0qcGEVVXYWAlA-1; Wed, 21 Apr 2021 14:29:31 -0400 X-MC-Unique: ScRGpHuWP0qcGEVVXYWAlA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F1689817476; Wed, 21 Apr 2021 18:29:11 +0000 (UTC) Received: from krava (unknown [10.40.195.227]) by smtp.corp.redhat.com (Postfix) with SMTP id F05365D747; Wed, 21 Apr 2021 18:29:09 +0000 (UTC) Date: Wed, 21 Apr 2021 20:29:09 +0200 From: Jiri Olsa To: Jin Yao Cc: acme@kernel.org, jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com Subject: Re: [PATCH v4 20/25] perf tests: Skip 'Setup struct perf_event_attr' test for hybrid Message-ID: References: <20210416140517.18206-1-yao.jin@linux.intel.com> <20210416140517.18206-21-yao.jin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210416140517.18206-21-yao.jin@linux.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 10:05:12PM +0800, Jin Yao wrote: > 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 > --- > 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..b37c35fb5a46 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 0; should return TEST_SKIP jirka > + > /* First try development tree tests. */ > if (!lstat("./tests", &st)) > return run_dir("./tests", "./perf"); > -- > 2.17.1 >