Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4156332ybl; Tue, 20 Aug 2019 07:47:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxalQW+xkyhzjC+cm9WzsnVmpcsC3iVELh12a1fbpc9Zb+hwDP1Ll0ijT6iYuQ7/KntT1dd X-Received: by 2002:a63:c118:: with SMTP id w24mr25422467pgf.347.1566312478003; Tue, 20 Aug 2019 07:47:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566312477; cv=none; d=google.com; s=arc-20160816; b=Qw31aquWlyMBTn8oy9Je/TH4uPT0umwdw15OUNJsggyfCpPXhEOKJbB1Yv/qY41tno C5M24noY+Oh3jmG3MiPa8G9KKbaJtb6/xFFdTiURZruhvzw3ZKe29xvbG23RIO0sPix1 XEXCvVGBX/++m2zQJZ/9VAqUpRFRbknP6hcu6QKRMQlizWuwvnN2IhdGEEWadiyduYdH lr5nBKcwAEVFH4ssYNCVpulpJtUdtVB27YhOFMdhar3A1RcWJvMXTofpxYM9B+gANRO0 FbI098ryENwipXtlzvGmwvGZWARVuB5XPuZwbAQf0tZntaeKpp0pRb02A4R2qEMgPrcO y17w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0LAxwykHVedtmUFtDwghFW/Ngjwy5rPPhRHs6eC63ZQ=; b=Mo7Y8VwCBCqWR8jesw0zCKX9PRR/SyDdVybM3IK7+d5eHmq/8rVtRCXtve5StrejQv LfsJEQWiZOcFqvA9IF+mO/n+rwHbFVH1CcAgHysw1WS+8RM0CoxStl/Xxm74dn/iHvXi JQPCWJZRBguWfVqhDHnnRZfr9AnCV0uF6LqAS+AMA4Ux51MwEqbQxoWvu712xnqoVg9N lhH8lIq19qAuHzJYh+5lwBKsEKOKza+v++E/Z1G9eYPjRUwuga/7CgJlg/77xBIYOPuO UblBI29/uBEBBlJ7/VJ22nwFflH9xGwQafdfk1xqr65AK/v0UpeKf9OsPhabfKCnGp9w M2Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hw2gR7kc; 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 y12si13074954pfg.260.2019.08.20.07.47.39; Tue, 20 Aug 2019 07:47:57 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hw2gR7kc; 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 S1730182AbfHTOpN (ORCPT + 99 others); Tue, 20 Aug 2019 10:45:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47538 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729810AbfHTOpM (ORCPT ); Tue, 20 Aug 2019 10:45:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0LAxwykHVedtmUFtDwghFW/Ngjwy5rPPhRHs6eC63ZQ=; b=hw2gR7kcRWphlWRW867OYSLqo 0GSrE1i3Gmj+zOQSYXr8yQ8M79IwA8CMDsnMqJnw1OWdg0DBGpOXagmJcrrAujOtLWMFR5DoUuhWH vJso2SPIztvRDDtHmkoQRvs+uACV9nZBw5emewERLAwVU5eqSsxJcOEBYp45ciVSo86Cjwe7smbIL NiJSRK3dfK/TYqhjKkXBDDJgXbikR5R3H3P6RgITe9TzChvygFPahU8S0fm+LvgHiGwjSP6ZRp95W tGCkhseQOABPjHfDh2HQ176C/cHlYoIPieqpnI46REj/xvTXSOQLe3TG4FBrLwWXw7KZMJmc3BXhg 2i1tiF+1Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i05Ni-0006sp-Sb; Tue, 20 Aug 2019 14:45:07 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EAAB330768C; Tue, 20 Aug 2019 16:44:32 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F185F20A999E4; Tue, 20 Aug 2019 16:45:03 +0200 (CEST) Date: Tue, 20 Aug 2019 16:45:03 +0200 From: Peter Zijlstra To: Daniel Xu Cc: bpf@vger.kernel.org, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, mingo@redhat.com, acme@kernel.org, ast@fb.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl Message-ID: <20190820144503.GV2332@hirez.programming.kicks-ass.net> References: <20190816223149.5714-1-dxu@dxuuu.xyz> <20190816223149.5714-2-dxu@dxuuu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190816223149.5714-2-dxu@dxuuu.xyz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 16, 2019 at 03:31:46PM -0700, Daniel Xu wrote: > It's useful to know [uk]probe's nmissed and nhit stats. For example with > tracing tools, it's important to know when events may have been lost. > debugfs currently exposes a control file to get this information, but > it is not compatible with probes registered with the perf API. What is this nmissed and nhit stuff?