Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp111709rba; Wed, 20 Mar 2024 12:31:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/S44F1ICzW9gJOqwHil4f5M65EoIMU8AcLGZgbtCXUjsfJa4SZQcKBdafvX36ipOy4mA1A9qeyDodKNQrnRMd7yLTqGD5bTF25PfvIQ== X-Google-Smtp-Source: AGHT+IEk6FnI79r3enKxWyTzmzul6W8l4tvh/+1diS/eABowTFG+1KZxIvuBa6pSHdpo6x/LdsLu X-Received: by 2002:a19:c51a:0:b0:512:e02f:9fa7 with SMTP id w26-20020a19c51a000000b00512e02f9fa7mr32952lfe.1.1710963088707; Wed, 20 Mar 2024 12:31:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710963088; cv=pass; d=google.com; s=arc-20160816; b=RIUbp3x30w/2DNwTXcpp/gEK7i4CYclVx++7Vz5dCFqKlOerNSc1ZGY3baUcQhHCuw lJtg4QlarIxP/7GhX16ALVBEfwdvh2GQc6dDS/IVxe7nd+mNuhld4VN5minHj59ZjGMj s+CHwWTmUY1CIZ938ZjICQU12lr0XxhXH00Mh0kwmrJOZBXbaiyylVhXMLrI+LuDFGFY NVNRRVOxYb4YtqH9FGM3D9e+hmnzD0LMV7MGoLIbaNgr4aZ+j/DhLqbLqeLo00z6ixYW Zat2ACqUwYUDAcJkOkv22+ck0PWSAIKNsYBcPbq7tCNknS18lrCx7bmgRgyqRjvdVRpJ bqxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=d2qW5yP3iIzz3LBKvSwkjrBJNmfBgjy7I6NXQHe7ZQg=; fh=xqBA6XU1fuyTFblptcc0c2Nkny7AEuI4qyn8l5YDn6E=; b=KagJcL8uhgeNpaRrUJEcFz3eaxev915S42P4bw8Y0lhfXTPnoVbRqozExsCl/swZ2C v9J/sQAAupkLfgiDBmUvSRM0D6ZIr/S8qxIKH4H4zZlfTc0RNuXVj4ZLTpLk+KKMAfpR ChAfBORPsVUFVNXZq3k4L7wVMqAq3yKuWyAVWyvx3V3OLesQNwY12///IAKPUPGhmd0f fuZJmgm0PygTfg9UzKNdgxzXT4TH8KsRXMLhAaN9zjzDZliLiy6N14NbtsDNMcrNSjjQ 2bZkj8PE4LOX1H/vJNz7KaW+Rui6U2S0NHBdQjlnJwCFKAb8ZIb7bmsHfSht8rJwIfwl 2Skg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fopIckmn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-109344-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109344-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g14-20020a170906538e00b00a462c4842bbsi6960812ejo.676.2024.03.20.12.31.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 12:31:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109344-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fopIckmn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-109344-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109344-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 738B41F2421C for ; Wed, 20 Mar 2024 19:31:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A6A885652; Wed, 20 Mar 2024 19:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fopIckmn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B56EE10FF; Wed, 20 Mar 2024 19:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710963081; cv=none; b=By55Yc0FM5gLCRGVDCIkSBbIL+eo8g5U9sd34+8qFS1otOhonsR2r5NO5528YpZLrhIf6slGJwHeR9VmAiPbc1B34oLDGPa96zqzweCjBhJlj8DyB1nOreGsKSKlouowkcLFxf0ab7nq5FfjHd3xbOB3rEX3HNYsVgbIGFdhlIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710963081; c=relaxed/simple; bh=uxhQ189kOj3hcNc/balsR6hLko7zNmVg0E06RlS6EKU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fNhKEpuhymnstG98cTs2dng7cfHjgkdnCEK1EF/7g8xEgJAcdxu/26w3jSP7UZWAUFNqOkeJZV7hPk3WQyKZQZmyu+aBvMM/dsx/0jmpesTFYEd0+D/6RSXs3HcmEaghhPR6BEhY1TcOEutxOLTtdhgPGApZgv+vx9azPRXh8OQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fopIckmn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 977B7C433F1; Wed, 20 Mar 2024 19:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710963081; bh=uxhQ189kOj3hcNc/balsR6hLko7zNmVg0E06RlS6EKU=; h=From:To:Cc:Subject:Date:From; b=fopIckmnpxsoE3dk1mKUMUeNdEALb3WAxNH0HKcnZOkq3/VihAgh7Po/m0Lo4ontV TD4s/fFVzXVvha3Op1CJ4NH+VZlUAujQ0t6J0w+2LvpyPuIIPmGaizcP9yYGn0buMJ uXzVfEArS/HA5P1SK909gBY653pSA1+vSzXJzNLbeDZs43Zbnza8bmJ1esSvClog88 lPLy2/EgdOjDAx5KdKoRX4/FkXiBSeI+SRYGEF+aXF6N9QwZoBjR8KbSaMWELjdOTf 9l/vSzq6Xn96BpK3tMOAgZZbXQHEfpV/EOvalnh11/1uQmHzXoeaulZH4cFuslJz2e 5Sb+AjWfBLuOg== From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Jiri Olsa , Namhyung Kim , Adrian Hunter , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo Subject: [PATCH 0/5] More perf trace syscall pretty printing improvements Date: Wed, 20 Mar 2024 16:31:10 -0300 Message-ID: <20240320193115.811899-1-acme@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnaldo Carvalho de Melo Hi, Here are some more improvements for 'perf trace', please review, Thanks, - Arnaldo Arnaldo Carvalho de Melo (5): perf beauty: Introduce scrape script for various fs syscalls 'flags' arguments perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argument perf beauty: Introduce faccessat2 flags scnprintf routine perf trace: Beautify the 'flags' arg of unlinkat perf trace: Fix 'newfstatat'/'fstatat' argument pretty printing tools/perf/Makefile.perf | 14 ++ tools/perf/builtin-trace.c | 22 +- tools/perf/check-headers.sh | 2 + tools/perf/trace/beauty/Build | 1 + tools/perf/trace/beauty/beauty.h | 7 +- tools/perf/trace/beauty/fs_at_flags.c | 50 +++++ tools/perf/trace/beauty/fs_at_flags.sh | 21 ++ .../trace/beauty/include/uapi/linux/fcntl.h | 123 +++++++++++ .../trace/beauty/include/uapi/linux/stat.h | 195 ++++++++++++++++++ tools/perf/trace/beauty/statx.c | 77 +------ tools/perf/trace/beauty/statx_mask.sh | 23 +++ 11 files changed, 458 insertions(+), 77 deletions(-) create mode 100644 tools/perf/trace/beauty/fs_at_flags.c create mode 100755 tools/perf/trace/beauty/fs_at_flags.sh create mode 100644 tools/perf/trace/beauty/include/uapi/linux/fcntl.h create mode 100644 tools/perf/trace/beauty/include/uapi/linux/stat.h create mode 100755 tools/perf/trace/beauty/statx_mask.sh -- 2.44.0