From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25009C33C9E for ; Tue, 14 Jan 2020 18:42:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E804B24658 for ; Tue, 14 Jan 2020 18:42:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="iMFejeAH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728721AbgANSml (ORCPT ); Tue, 14 Jan 2020 13:42:41 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:60000 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726839AbgANSml (ORCPT ); Tue, 14 Jan 2020 13:42:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579027360; 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=e8VOWN53+8eVp/ukk8x+fivpg8/VfPu0j809WuoSnQQ=; b=iMFejeAHX/jWZSqndQVVlrv56BXZ7+Yn7qgl22Qw9cyZdbGEFC8gHBf8mogRcYZEjl3Fhf V2YyBRkCC+if0UESOvTBxtAMI0WxSpmGhc0fYsc8qKCJUCWCS1JeSofyNnXTmSKF1aUnQC FuFPmlLFjf6oNHqqo9OVrW/h9CXR+Ok= 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-141-dPR6MkefOo6kGNvC0J2U_w-1; Tue, 14 Jan 2020 13:42:37 -0500 X-MC-Unique: dPR6MkefOo6kGNvC0J2U_w-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7B6AC1800D78; Tue, 14 Jan 2020 18:42:35 +0000 (UTC) Received: from krava (ovpn-204-61.brq.redhat.com [10.40.204.61]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5FF1160BE2; Tue, 14 Jan 2020 18:42:33 +0000 (UTC) Date: Tue, 14 Jan 2020 19:42:30 +0100 From: Jiri Olsa To: Alexei Starovoitov Cc: Andrii Nakryiko , "bpf@vger.kernel.org" , "netdev@vger.kernel.org" , "daniel@iogearbox.net" , "andrii.nakryiko@gmail.com" , Kernel Team Subject: Re: [PATCH v2 bpf-next 5/6] tools/bpf: add runqslower tool to tools/bpf Message-ID: <20200114184230.GA204154@krava> References: <20200113073143.1779940-1-andriin@fb.com> <20200113073143.1779940-6-andriin@fb.com> <20200114132208.GC170376@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Tue, Jan 14, 2020 at 05:25:42PM +0000, Alexei Starovoitov wrote: > On 1/14/20 5:22 AM, Jiri Olsa wrote: > > On Sun, Jan 12, 2020 at 11:31:42PM -0800, Andrii Nakryiko wrote: > > > > SNIP > > > >> diff --git a/tools/bpf/runqslower/Makefile b/tools/bpf/runqslower/Makefile > >> new file mode 100644 > >> index 000000000000..f1363ae8e473 > >> --- /dev/null > >> +++ b/tools/bpf/runqslower/Makefile > >> @@ -0,0 +1,80 @@ > >> +# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) > >> +OUTPUT := .output > >> +CLANG := clang > >> +LLC := llc > >> +LLVM_STRIP := llvm-strip > >> +DEFAULT_BPFTOOL := $(OUTPUT)/sbin/bpftool > >> +BPFTOOL ?= $(DEFAULT_BPFTOOL) > >> +LIBBPF_SRC := $(abspath ../../lib/bpf) > >> +CFLAGS := -g -Wall > >> + > >> +# Try to detect best kernel BTF source > >> +KERNEL_REL := $(shell uname -r) > >> +ifneq ("$(wildcard /sys/kenerl/btf/vmlinux)","") > > > > s/kenerl/kernel/ > > eagle eye! > I fixed up in the tree. Thanks! nah my eyes are screwed.. compilation failed for me ;-) jirka