Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2319144imm; Thu, 9 Aug 2018 10:47:33 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwz9kaCNEJuJKD9f9oNicunAGPO1d1i9ACLLS57x0b6t5C4VwzQRIkT7EkFZIF2aM2ZB6Id X-Received: by 2002:a17:902:9a83:: with SMTP id w3-v6mr2920765plp.75.1533836852807; Thu, 09 Aug 2018 10:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533836852; cv=none; d=google.com; s=arc-20160816; b=JtM4f/EAAAURGv1MpyWUDm/S+N5gV3z74U+EpRKuWj1vCvHBqMQ2Gc53GU0Jtz7VXp vup0STixBN8WPxQdw9UnwTjwi7lcr5Ig3nSwIpT6N8tgvcjWmxy8rWKM7Yv+F4499Kn8 SjvFNpkIVINUiln3kkWCVdSAuArkS22b6P7eqZSXxStD2yqFGjJ/2nAHBOhI3XMWNr0P 10FfSnP7KlCC530vLYo/A0jMmRcNKiQhh6Vj5Rcjq4vZChvNx03oYECA3zroKsiQuIRf ns6ITzDanq+kQrjCSRb5iXjOhSTCZTuxzolvU5g/+U+Dl3adOkOk+VUQJPHUmD678eG+ mC1g== 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=JRLKngrDsEgMFvjKJr9gF2t330DaLCWREue6zUZQvMI=; b=UPVz4+ruY4ySthrN9MNGr/0uI2HebLqmRABBe5gmQptqWOA2oHIGJmbR3p8/hQaeaL ROmOL3VfC0bXecdNGPydTpqJ52SRWbOyfA7aypCDVPxMdyUPwNjOjmvyJNFvqDjuX2yy SeTaaxhXrrZEHvhCz4o7gpBaop2tt/g1WcV7f9pS+oIVzkqJ+8l/MS6VvULWZljkSQYN xuBUyJ1PcMyfwUKphF4xzT05/rbYY5FGjRxrzhF429YsbeJwfWgVH4CTC+DbvKkCZpYu urNBhFVcz83O/ObcrsA0f/XQyQ7j6A9k8aERj2sfoQ1RO7D4pifG8uM5gXnfDij1+uSC NBVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nwPTOpg8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9-v6si3393914plt.478.2018.08.09.10.47.17; Thu, 09 Aug 2018 10:47:32 -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=@kernel.org header.s=default header.b=nwPTOpg8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732639AbeHIUMY (ORCPT + 99 others); Thu, 9 Aug 2018 16:12:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:58800 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732330AbeHIUMX (ORCPT ); Thu, 9 Aug 2018 16:12:23 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A11421F41; Thu, 9 Aug 2018 17:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533836789; bh=hrnAlqRoxVmE4qfdKnJJoB/8BX0ucvw8QzNbFvzI4ZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nwPTOpg87ycTfeZV3/tEK13PePDdPsS1+spHVVbFwtU62Wk4lQi8/y97qVgfFfXEb wqhJZ/xzY1EOw7QF6M7R7eP/I7R2vM36Rbl8QZiALTa2JTK+sHgmF1QODhVXnFfttC +G3NFw2UT/Q4NuFZm4Sq3I04waxXv+yDhojBUlaY= Received: by jouet.infradead.org (Postfix, from userid 1000) id 36D4C140A1C; Thu, 9 Aug 2018 14:44:10 -0300 (-03) Date: Thu, 9 Aug 2018 14:44:10 -0300 From: Arnaldo Carvalho de Melo To: "Naveen N. Rao" Cc: Sandipan Das , aneesh.kumar@linux.vnet.ibm.com, jolsa@redhat.com, linux-kernel@vger.kernel.org, ravi.bangoria@linux.ibm.com Subject: Re: [PATCH] perf probe powerpc: Fix trace event post-processing Message-ID: <20180809174410.GD5395@kernel.org> References: <20180809161929.35058-1-sandipan@linux.ibm.com> <1533831952.2wznw8gaoa.naveen@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1533831952.2wznw8gaoa.naveen@linux.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Aug 09, 2018 at 09:56:24PM +0530, Naveen N. Rao escreveu: > Sandipan Das wrote: > > This can be verified on a powerpc64le system as shown below. > > Before: > > # perf probe -v -a sys_open > > # perf probe -v -a sys_open%return $retval > > Failed to write event: Invalid argument > > Error: Failed to add events. Reason: Invalid argument (Code: -22) > > After: > > # perf probe -v -a sys_open > > Writing event: p:probe/sys_open _text+4276888 > > Added new event: > > probe:sys_open (on sys_open) > > ... > > > > # perf probe -v -a sys_open%return $retval > > Writing event: r:probe/sys_open__return _text+4276888 > > Added new event: > > probe:sys_open__return (on sys_open%return) > > Fixes: 99e608b5954c ("perf probe ppc64le: Fix probe location when using DWARF") > > Reported-by: Aneesh Kumar K.V > > Signed-off-by: Sandipan Das > Acked-by: Naveen N. Rao Thanks, applied! Excellent commit log message, btw, keep it up. - arnaldo