From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752861AbcLNAMG (ORCPT ); Tue, 13 Dec 2016 19:12:06 -0500 Received: from mail-wj0-f196.google.com ([209.85.210.196]:36853 "EHLO mail-wj0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbcLNAME (ORCPT ); Tue, 13 Dec 2016 19:12:04 -0500 From: Alexis Berlemont To: linux-kernel@vger.kernel.org Cc: Alexis Berlemont , peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com Subject: [PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string Date: Wed, 14 Dec 2016 01:07:30 +0100 Message-Id: <20161214000732.1710-1-alexis.berlemont@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161207122610.008da636793d38a39accf29b@kernel.org> References: <20161207122610.008da636793d38a39accf29b@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masami, Many thanks for your mail. Here is another patch set which tries to fix the points you mentioned: * Skip the arguments containing a constant ($123); * Review the code in charge of the register renaming (search for '%' and parse it); * Minor changes (print the argument in case of error, skipping, check the sdt arg type index); Many thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 83 +++++++++++++++++ tools/perf/util/perf_regs.c | 6 ++ tools/perf/util/perf_regs.h | 6 ++ tools/perf/util/probe-file.c | 170 ++++++++++++++++++++++++++++++++++- tools/perf/util/symbol-elf.c | 25 +++++- tools/perf/util/symbol.h | 1 + 6 files changed, 285 insertions(+), 6 deletions(-) -- 2.10.2