Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6085544imd; Wed, 31 Oct 2018 06:40:36 -0700 (PDT) X-Google-Smtp-Source: AJdET5cSnpmFcIFuPPYJ2Rjulepe7c0vZQSjacfPksjAVrt+haRjWlX/hQaziUSG/rovH0Mf5CI+ X-Received: by 2002:a65:6144:: with SMTP id o4-v6mr3229148pgv.387.1540993236348; Wed, 31 Oct 2018 06:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540993236; cv=none; d=google.com; s=arc-20160816; b=fcjB+odJAxLFxp9Om+GfOx4SS8ujBTEKGkqOsLi+WlOScHWwyb4pMOY/KWf72Sb+do myPn/aD5H3vx1WJxSqHdMB6SVw5kTlSbZIDFvTxxn0OvIjcFXO+DvT2JSZudR6f4sa50 pmIgoi+Kp/O82oFuAgOeurylyzkX7q2zN1/LmumCcYUhpxU85MDzk5NsUoqV7do4fky6 pmnYe2Va5yiOKgxhraTPBYlgKWIqMN9HMEvY2psdflHW2IwtVj1SvkCyKQkwUpSfKxP3 ZYZHkkUNTG0WY68fUD9OTLU42jU1D/1gepQdoFbZvSStOAsERzHBSVfRG0pJPIqKLlcW TOHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=G/osvrLNndrQPResGjYx+g/IMuvoyRzGnom35pKbFgE=; b=Q+C7JiU68FwZKa+qi9mxO5GNFwUDzxmJgWzLUhIUPqtmJM4p0vmbadTp6sFtHKYKWI TST5r9N8ZL+ysGXa0+p1jfi7e1G8EZya8GnUKLBYh9GlJqt7zbuNr0StT/Xuz/5aEFsu +xrOa8VUOot6ZxtpKj4wMLPDLY9MBaXiJXV8fH4DCJ2UY8qd02iUbk4cABzpfG5gupri 5w3WOTArGe2LuWPHuMJopQJMApZVWebrrt4FshpLPWxbIs8DoyrkbUrkpcshy92TJNKP QxQp2jxZX6HBOBF1k6glsMp5C6KJO0QlSi+5mU7ECekmob6u2ieTNcR+vVntEXSV1CBl wo/A== 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 30-v6si6291036plb.342.2018.10.31.06.40.20; Wed, 31 Oct 2018 06:40:36 -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 S1729322AbeJaWhc (ORCPT + 99 others); Wed, 31 Oct 2018 18:37:32 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:59502 "EHLO mx2.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729139AbeJaWhc (ORCPT ); Wed, 31 Oct 2018 18:37:32 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id CEB95A1047; Wed, 31 Oct 2018 14:39:25 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id 2PmreqW_Gst6; Wed, 31 Oct 2018 14:39:24 +0100 (CET) Date: Thu, 1 Nov 2018 00:39:12 +1100 From: Aleksa Sarai To: Steven Rostedt Cc: Masami Hiramatsu , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Brendan Gregg , Christian Brauner , Aleksa Sarai , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kretprobe: produce sane stack traces Message-ID: <20181031133912.3j5tryq2vyhkdn4d@yavin> References: <20181026132210.12569-1-cyphar@cyphar.com> <20181030101206.2e5998ca3c75496c91ba5b09@kernel.org> <20181031090317.4e211fdd@vmware.local.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="si2rvs2mjjmh3fgx" Content-Disposition: inline In-Reply-To: <20181031090317.4e211fdd@vmware.local.home> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --si2rvs2mjjmh3fgx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-10-31, Steven Rostedt wrote: > > Anyway, until that merge happens, this patch looks good to avoid > > this issue for generic solution (e.g. for the arch which doesn't > > supports retstack). >=20 > I think its time to come up with an algorithm that makes function graph > work with multiple users, and have kretprobes be able to hook into it > just like kprobes hooks into function tracer. >=20 > I have some ideas on how to get this done, and will try to have an RFC > patch set ready by plumbers. Should I continue working on this patchset? --=20 Aleksa Sarai Senior Software Engineer (Containers) SUSE Linux GmbH --si2rvs2mjjmh3fgx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEb6Gz4/mhjNy+aiz1Snvnv3Dem58FAlvZsIAACgkQSnvnv3De m599Ew//WQYMTifoaqa/qaOqV6wu3+yszJP6u1jF05x99Q8k8qjmV7I89BzVQeef vwJNOXo8u4PliULh+E3oKW+vSeuWKWBa21SS+K0/w6x4Xcr/VuNoj5aQh3m245+8 VylMwqgAkEuNQAv1SVOaNcKZ0BUd3cKlFAJ13WYdxj5vPckG/ZNExsMDuLF8aeTD iMDO4j/n6DmyIg2MUJuKqd476WfluuRkm8H/52y+pvevkcqN7oIturhsx3GUay75 eaRK5TNcfouo/IJj5h9DlakK24qu6uk3IKaRpomeklKEmJEzNrsYlt4K2VlQy+1a lbxHHDvp7Q6o21pzCX1qwUucmwEKL9PesoWLlb+140zuVkDCBhmo8ZMCOAHaU1ss HQVqIms6MglVdzBCRwVA6hPvA2P+A+ohRv90g+EaGJaSOAcI1/xDndD2Yi61ZvO1 TObh2ZCOMEpaiuPayyCm1SbwDkNGjJuWo34JXfY4paLBRamL49FpF4rZZHoFLQ/m o6W71UcuBlsF5vh1zqLWu5LtRIf5C6gsCGPgIG8QSgy9kAQWIPyBzmvFuwV/hM8K z5UMif93u+jz8MpPhCZGIwMu/r035NceduSY4pwGwc+j916iOGaQnYKgWlz3TSG9 vJlZWYfyfv8PcSKJUKwOMCIBfWn2ljZJKMxGXLaxTyxUZKZ2M4o= =SZlv -----END PGP SIGNATURE----- --si2rvs2mjjmh3fgx--