Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp500503imm; Fri, 15 Jun 2018 01:13:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJcyOCq1Av6rVYfdVwv6DRSYw0S8KQQLCUUv6uGQrjqkmU3a7A8AbY0kjWwn1VdnQQz1yaj X-Received: by 2002:a63:7255:: with SMTP id c21-v6mr619982pgn.99.1529050402479; Fri, 15 Jun 2018 01:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529050402; cv=none; d=google.com; s=arc-20160816; b=pYC22f2grB+LF8f9WlUJR5Ck+EHidWbSa6+lYMLTDu4D54PESWeNmRLA+j7UwRM3IP 196Mk4rnHTMnH6Z4sZkzfDHJmp4mk/yU9oANWkyA8ks0PVrKxKQ7bVmx5uE0bW3IxcxE S23rPbRkHVg7CVky7y4lpd45pUzLE1X1XFkQ+0uq7HGmuMkJD1sPCXdi+qsI6Z6wugyy NNjMUr8T/p3oEjvGzVnQfv2Wq9nCW4BGOgBo9GyUXFv6atHSGbN5aCjMiaZpkzAWwz/A prf3RyO6kPdXkV5pjpDLAi2VuDdU6mmywc+5n8I2aF8gNPMOITka80/fjv9IiDW2Tj6t gQJQ== 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:arc-authentication-results; bh=MWe+AXNnb/K85IU5quTuJ4mdg1eJtIwrkHg1jZwS5/Y=; b=BIfJRhOUPiQ1ilWxZM0umb951RoYx903ARU1DJ+kGh2pi8VqWYxnadrT0sgdV/ZD9T q91JlgRaAKR2noK1B3Z0mxA0VHtzHWfZS7uUwqeJM7PQg4A1AtO2BwbUU0R0CAUqdUZC +61S/BXbA9tsvsfrEuq5fCSAJYYzdPeqxxki5C+wCEsDJO39c2RAdmVFAqHMchWWrKt7 HdU0TK98KmBSsfMAyKDam/JrGjRn4YIWsJEU9DhU1Hcz+VKU6t5R7OSVYuAQaOMYGw/H NUqFZIGpZyK84VBxxBPpxGJQHWDE7BoBynIvq+sWAwa8oSipiBw3BoNne/TqPFsrmXFm nBFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RVEx1zbh; 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 z5-v6si7482126pln.347.2018.06.15.01.13.06; Fri, 15 Jun 2018 01:13:22 -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=RVEx1zbh; 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 S1756014AbeFOIMd (ORCPT + 99 others); Fri, 15 Jun 2018 04:12:33 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58682 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755847AbeFOIMc (ORCPT ); Fri, 15 Jun 2018 04:12:32 -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=MWe+AXNnb/K85IU5quTuJ4mdg1eJtIwrkHg1jZwS5/Y=; b=RVEx1zbhrWlrSY2qiIzf03mRc FjmhO2XxqViZZ/34maHWIitu/YOP8ZKaVXbTGgnk4LXCPfSh6BUaFzTP538m2AJM3i+Zaid7pgKEr trXVgteUpS2HH5IrwIfIQL/TPEIDS7MYc3TGfNxTJEE4krE1JwSbOYI/ntre8JOEaNufoDZAkjJis r6eds0Eae1e0eUH45RUMNx4FA54NnDoXWsjiE45bobNVtvs5DKt9vpUE+d9x6XBJ2q2lfraWm5Zzf jfDJPjzf8CWhKKfTlAuH8RaKZrupd34XkUVdYVpGpjCB9kGdH1oZX6V9V4Iv8Hp73DeCyl9a4nASr 1XrzIucmg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTjqL-0005nb-IQ; Fri, 15 Jun 2018 08:12:25 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 020962029FA0D; Fri, 15 Jun 2018 10:12:23 +0200 (CEST) Date: Fri, 15 Jun 2018 10:12:23 +0200 From: Peter Zijlstra To: "Jin, Yao" Cc: acme@kernel.org, jolsa@kernel.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, me@kylehuey.com, Linux-kernel@vger.kernel.org, vincent.weaver@maine.edu, will.deacon@arm.com, eranian@google.com, namhyung@kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com Subject: Re: [PATCH v1 0/2] perf: Drop leaked kernel samples Message-ID: <20180615081223.GB2458@hirez.programming.kicks-ass.net> References: <1529057003-2212-1-git-send-email-yao.jin@linux.intel.com> <20180615074504.GA2458@hirez.programming.kicks-ass.net> <11958be5-dc05-611b-6839-f1f6903c7ca8@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11958be5-dc05-611b-6839-f1f6903c7ca8@linux.intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 15, 2018 at 04:01:45PM +0800, Jin, Yao wrote: > Bring more overhead to kernel if we zero the bits considering the number of > leaked samples may be not too small? Keeping the samples at least allows you to know how many samples happened and such things. > And the skid information may be interesting (see example of hitting on > page_fault in previous mail). If we zero it, we will not know. If you throw them out the window you also don't know, do you?