Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1455888imm; Fri, 15 Jun 2018 18:28:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKEVoS6pxbj3pmRNlIyUduDGk2Si/D0c/dqXUbysvoPAYSt0O8KOb3x9/72fbBdh++Rniw7 X-Received: by 2002:a17:902:820a:: with SMTP id x10-v6mr4535666pln.179.1529112499343; Fri, 15 Jun 2018 18:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529112499; cv=none; d=google.com; s=arc-20160816; b=cpWTTPhMbfXWtd1ztet//964a8TPnh6BqoNEdV6UZGlM+k4d5gA5XmITyTpQnTbaHs B46xzVUNKs+e2kjasnzaouhuLxzi7XFY0ma+jRF04a0aX02/u58/f36lAkh/axsdeqFS dsNjZu1rJLedq2CVIoTblZYIxv9Jczp38Vtv/l/B4S4brT77sWHdX3+4wZ+81hKidGWL UeJKWdSiNBJ+hY/io/aKK5siGGko+ZyBMhL6iMqJnapzGrHKO9qwKhCeXjaZlhPp9hAu b2gcbXvcra2GX0ZjS4j7gMC0akRU2Tl0LACRrODI6eIxCSax4gbwaYeTDHQGguIwGZvw 8XcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=VLxTFebqdrcv2kim/vBgQDtQlSNML+ClxURG/VGMyDk=; b=WBZU9lkK1uxDbP3emJDCFzoZnOjbyBT2T/yVBWB6zbW4bHOEp6okYFLTHNI5d09ozm KkQWRrZaaLtWa8ssBPyF9qRvYq9PFlo9qeLVg7APuSVkIE/hTc3hIXr3RJPZybbvBiuw 6iot1Hx6mWKt1AbwutJlTfsPgZuqZC6eHogHfMk18Bwbv9kLICPHpOUv8UnAuKtTjbP4 lPtIQFHy1v3bu/EGkPgy9d6/lgGAQnlA+41jzYg6wG+WjIEPr0GoErduruYp22TAyDh/ /K47RIxONkLIG5b/yCErbR99BYEg/SPsON1AhWJjZyhZa+7QXcSaPjT8SRBzL20yxdkB oBLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=RaYg212w; 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 z15-v6si7315162pgo.428.2018.06.15.18.28.03; Fri, 15 Jun 2018 18:28:19 -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=pass header.i=@linux-foundation.org header.s=google header.b=RaYg212w; 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 S1756341AbeFPB1k (ORCPT + 99 others); Fri, 15 Jun 2018 21:27:40 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:44643 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753727AbeFPB1j (ORCPT ); Fri, 15 Jun 2018 21:27:39 -0400 Received: by mail-io0-f195.google.com with SMTP id g7-v6so12263634ioh.11 for ; Fri, 15 Jun 2018 18:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VLxTFebqdrcv2kim/vBgQDtQlSNML+ClxURG/VGMyDk=; b=RaYg212wvlDnTQhzU8ZWU0CiGJrPsXVgwwmN2TzEoc69TQv2aodqL9aKJdBBR3A/0y enQHngRjH2u8tQOasdA39WbvjqLh1D88JkZE31lO8OqXfIVV71tCwyzuTbohLY6IGfhD vy7PYNzHs5xaB8JqgcQKclzjNgD03XfzttEnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VLxTFebqdrcv2kim/vBgQDtQlSNML+ClxURG/VGMyDk=; b=fKfdti831sZhNx8d9CvqwzeHa5h6LMoOTC7OpQA79oOnQ8I0pwPgNLN2ntkbjMwu1Z 7nx3ynK6n3Zo2cg6FeyjmXj7AKeGGmlyfjgh912LVzL2GBqGKrVaDJh3whH34IGAEcZY 54LuMrEG3hfDWwuMmZ82Smdgqx1ux+0jK5LsNqE1GT7ZRB2VATlFONF1gfAaZGYpRDSY 1068lp8Fm2PnRx0Rqx7UGwIwnrlBBTz+cr71Xbsz7VDeH8DKLeY9JYhu0irZhW4zwy5y syHMwBvXgo7hSYIij6BMHmBabWYsSjt7ZUa9/MR3MpCS/KQ7IkssdLNqFa3uUpgGpAdi B6IQ== X-Gm-Message-State: APt69E1V+KPYKg3S+WlXIaEBoYI06o0uOz99np14s9Z8lmZydtlvgHSW hrpNSg1emf/e4AhXPd4vHc5qvI8JNhAkL6SppOc= X-Received: by 2002:a6b:1502:: with SMTP id 2-v6mr3589484iov.203.1529112458762; Fri, 15 Jun 2018 18:27:38 -0700 (PDT) MIME-Version: 1.0 References: <1529057003-2212-1-git-send-email-yao.jin@linux.intel.com> <1529057003-2212-2-git-send-email-yao.jin@linux.intel.com> <20180615113608.6m74sm7gpl5p6oqe@lakrids.cambridge.arm.com> In-Reply-To: <20180615113608.6m74sm7gpl5p6oqe@lakrids.cambridge.arm.com> From: Linus Torvalds Date: Sat, 16 Jun 2018 10:27:27 +0900 Message-ID: Subject: Re: [PATCH v1 1/2] perf/core: Use sysctl to turn on/off dropping leaked kernel samples To: Mark Rutland Cc: yao.jin@linux.intel.com, Arnaldo Carvalho de Melo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Kyle Huey , Linux Kernel Mailing List , Vince Weaver , Will Deacon , Stephane Eranian , Namhyung Kim , Andi Kleen , "Liang, Kan" , yao.jin@intel.com Content-Type: text/plain; charset="UTF-8" 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 8:36 PM Mark Rutland wrote: > > At least for sampling the GPRs, we could do something like below > unconditionally, which seems sufficient for my test cases. Ack. The PEBS case may need checking, but maybe PEBS doesn't even have this issue? Linus