Received: by 10.213.65.68 with SMTP id h4csp3472170imn; Mon, 9 Apr 2018 22:38:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx49pVUfwm1nKYl9ilLJGKtagO/sRjd03DxbKpim9ciScpQaMYFA+4R3EtqDoUCLIA2HJmnHm X-Received: by 10.101.92.2 with SMTP id u2mr27739078pgr.317.1523338733267; Mon, 09 Apr 2018 22:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523338733; cv=none; d=google.com; s=arc-20160816; b=B1Q9yczl+L8h6iKLbhq6zQ5K33AmopZXsOMufrHeyRvAU5yvmWMW/FRr9pOYrDB6jN a3Mqrgz8Ij5ArgCztWHauPZf8zFX4dkYbJOMk/G15Low7zB7g6Kynznwoo13rjX7KwFT Jbdbxl800T+IXqZQO3BFxph3h+xAZKejMEdBXeNOvwkNfe1TCIaGign/hEGUHvCDZnFK rpgaY2RPb4BBp91HNzGpHLGTBqeTasFcJiyyxQFN8IGFctMr3ne6ezWp5TY+pODD9j97 111wcsQOxjYv9L4TgLR/mqYJR5d4in6lAEf6t6WW2NksAt/gc+qlMUfDaocYL8y5g7aI wH1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=PCmryPJRBUriIelFSqQmXYvWKY0dsyzjQpAH8PDkwiA=; b=CkLe0jOqXVKeEUN3Gq1e9f63jTHEXXfCSvn1YMbRV3NxLs7GF2n9Y+EBofbPnK634H agE2Y99FFMMNIcHj1xgZQExx9wN3ijzlzC/nZsa4P30sgdhGYETeLzUZQ4ERY1tAsg5s 97XgYx1FM/4HhwT9p35MdIhvSxwCCC7Wjv6BT9K6pN9QFf2ha0TIj1JcToWXitYg8Voj od0g520eoutrnVEre5T2BJ4sWnEn29B4+ITfAu5x021fFTH3p4rjkovJ9QPS5l72NE2h gB5BUa8WVZdNMxUG3j1lIlmO1TeIUxyt6GvH5amvhOKc7f02b9pcXhXmPUeJ/siLRC1x VkeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z131si1314439pgz.184.2018.04.09.22.38.16; Mon, 09 Apr 2018 22:38:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752255AbeDJFb2 (ORCPT + 99 others); Tue, 10 Apr 2018 01:31:28 -0400 Received: from terminus.zytor.com ([198.137.202.136]:58891 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751820AbeDJFb1 (ORCPT ); Tue, 10 Apr 2018 01:31:27 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w3A5VKsl2096849; Mon, 9 Apr 2018 22:31:20 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w3A5VKC02096846; Mon, 9 Apr 2018 22:31:20 -0700 Date: Mon, 9 Apr 2018 22:31:20 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Sandipan Das Message-ID: Cc: hpa@zytor.com, sandipan@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, jolsa@redhat.com, naveen.n.rao@linux.vnet.ibm.com, acme@redhat.com, mingo@kernel.org Reply-To: hpa@zytor.com, sandipan@linux.vnet.ibm.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, jolsa@redhat.com, acme@redhat.com, naveen.n.rao@linux.vnet.ibm.com In-Reply-To: <20180404180419.19056-3-sandipan@linux.vnet.ibm.com> References: <20180404180419.19056-3-sandipan@linux.vnet.ibm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf tests clang: Fix function name for clang IR test Git-Commit-ID: fcbd8fa44664e99a5d8c7ab97f1afdd82472f973 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: fcbd8fa44664e99a5d8c7ab97f1afdd82472f973 Gitweb: https://git.kernel.org/tip/fcbd8fa44664e99a5d8c7ab97f1afdd82472f973 Author: Sandipan Das AuthorDate: Wed, 4 Apr 2018 23:34:19 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 9 Apr 2018 11:13:09 -0300 perf tests clang: Fix function name for clang IR test As stated in tests/llvm-src-base.c, the name of the bpf function should be "bpf_func__SyS_epoll_pwait" but this clang test fails as it tries to lookup "bpf_func__SyS_epoll_wait". Before applying patch: 55: builtin clang support : 55.1: builtin clang compile C source to IR : FAILED! 55.2: builtin clang compile C source to ELF object : Skip After applying patch: 55: builtin clang support : 55.1: builtin clang compile C source to IR : Ok 55.2: builtin clang compile C source to ELF object : Ok Signed-off-by: Sandipan Das Tested-by: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Naveen N. Rao Fixes: e67d52d411c3 ("perf clang: Update test case to use real BPF script") Link: http://lkml.kernel.org/r/20180404180419.19056-3-sandipan@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/c++/clang-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/c++/clang-test.cpp b/tools/perf/util/c++/clang-test.cpp index a4014d786676..7b042a5ebc68 100644 --- a/tools/perf/util/c++/clang-test.cpp +++ b/tools/perf/util/c++/clang-test.cpp @@ -41,7 +41,7 @@ int test__clang_to_IR(void) if (!M) return -1; for (llvm::Function& F : *M) - if (F.getName() == "bpf_func__SyS_epoll_wait") + if (F.getName() == "bpf_func__SyS_epoll_pwait") return 0; return -1; }