Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp71487imm; Wed, 5 Sep 2018 15:11:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYF8CiZ3DePBHRusSSnp3iFCYD+tSUwHQvKoXiNZa7cMUKJyJRNO3cVhzYfcTvcqCoI/xmp X-Received: by 2002:a63:1e63:: with SMTP id p35-v6mr39093136pgm.376.1536185480308; Wed, 05 Sep 2018 15:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536185480; cv=none; d=google.com; s=arc-20160816; b=PS/3VvVNZKMnN8U9/CzTQgz36YZgHfc96gLqHuAmm5pvMGl8WKjTCQDAwbWiQVdIxx y14PYRnF9DFwo48XfL3FhtXNfQesB3evALR1Opc4T+8oecW7uTr0MksZvovgjQoKjTag SCGX00eMdgsv1OUb6DKzd//NVYd5P2jVnMmtwRcPCsyO6XWevrVkpU2xKxKLTzVEwXWp /+J6N4o3tEw5enPX111D1rniu8We8/Gv1ZABxFaf5plfH3mrzefzNzTzF10Kg70DhidG m+bEFH03Zg0WxgJJ2O6A66UliemwoKWFPn4+rI7eKGdjz2EngouIuu4nB07u/XCEbIm/ 3BmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=NGkQqvpQGFUQ6qT+BLIaK/oX7EvBLiLUY8xbHXVQqp4=; b=HTn5Ok8SgtaQY8X4E4Eet+JSLlKwRy+1XCLv1PeuyhEmMGj5QpUPmUjpYT4joRd2xh emlHYFGX/jdBIg4AWf6hjG4/rPG+bKeDix9YaNgzjntOv1TdCN85snLoKTgYsthVexY1 yUI9p6TmiFb8D7BezsNCpWCooPLDvDM8JODIiWtLQEX5Q6adnCHBE1Hu5FCVf2fNC/tl qlMA7W1oQmGQujqwqs0NhOIUmmHc8ZuoBevQknYYeiZ3eHY3X5QNY2ey+McLGDFI6y6X eWyKNQ9gbkD8Mfpm2bt7QaPZO4UhMx70dvOODvwCwBU22dxWutz5o8Rc8W73N27lFr90 CH0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sa260DWW; 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 f90-v6si3108602plf.30.2018.09.05.15.11.04; Wed, 05 Sep 2018 15:11:20 -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=sa260DWW; 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 S1729108AbeIFClL (ORCPT + 99 others); Wed, 5 Sep 2018 22:41:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:55348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727752AbeIFCkR (ORCPT ); Wed, 5 Sep 2018 22:40:17 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (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 DA4002077C; Wed, 5 Sep 2018 22:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536185285; bh=USG2aTiyDuW3Vw6zcmSwGjUWfCEzZaXRfIrttFtvlTQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sa260DWWd1O1EUDEDo2LKke0wcBRTXlRaa51Hto73aWKWYj6RENH56FfQOIQdMC7S IYq071M0rvE3FwxIVPYEaZBeA+z7qmFwig+W0El87adgxSeDeFk6Tq8vDyz20F9t1b xXMWFyXxL1udUF4rcsdb+RhL2dCDcCvVKpBqX7/I= From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Benjamin Peterson , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo Subject: [PATCH 69/77] perf trace beauty: Alias 'umount' to 'umount2' Date: Wed, 5 Sep 2018 19:04:32 -0300 Message-Id: <20180905220440.20256-70-acme@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180905220440.20256-1-acme@kernel.org> References: <20180905220440.20256-1-acme@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Benjamin Peterson Before: # perf trace -e *mount* umount /dev/mapper/fedora-home /s 11.576 ( 0.004 ms) umount/3138 umount2(arg0: 94501956754656, arg1: 0, arg2: 1, arg3: 140051050083104, arg4: 4, arg5: 94501956755136) = -1 EINVAL Invalid argument # After: # perf trace -e *mount* umount /s 0.000 ( 9.241 ms): umount/5251 umount2(name: 0x55f74a986480) = 0 Signed-off-by: Benjamin Peterson Tested-by: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180828035344.31500-1-benjamin@python.org [ split from a larger patch ] Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-trace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 97ace635bed8..c106189f4066 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -825,6 +825,7 @@ static struct syscall_fmt { .arg = { [2] = { .scnprintf = SCA_SIGNUM, /* sig */ }, }, }, { .name = "tkill", .arg = { [1] = { .scnprintf = SCA_SIGNUM, /* sig */ }, }, }, + { .name = "umount2", .alias = "umount", }, { .name = "uname", .alias = "newuname", }, { .name = "unlinkat", .arg = { [0] = { .scnprintf = SCA_FDAT, /* dfd */ }, }, }, -- 2.14.4