From patchwork Wed Jan 10 23:00:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 13516650 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 4F2554F88F for ; Wed, 10 Jan 2024 23:02:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 281B0C43390; Wed, 10 Jan 2024 23:02:03 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from ) id 1rNhbE-00000000Usx-2ZKM; Wed, 10 Jan 2024 18:03:04 -0500 From: Steven Rostedt To: linux-trace-devel@vger.kernel.org Cc: "Steven Rostedt (Google)" Subject: [PATCH 0/2] trace-cmd record: Add updates for subbuffer size Date: Wed, 10 Jan 2024 18:00:27 -0500 Message-ID: <20240110230303.118668-1-rostedt@goodmis.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-trace-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Steven Rostedt (Google)" Add --subbuf-size option to trace-cmd record, and also save and restore the previous settings of what they were if they are modified. Steven Rostedt (Google) (2): trace-cmd record: Add --subbuf-size option trace-cmd record: Reset buffer_size and subbuf_size when done .../trace-cmd/trace-cmd-record.1.txt | 15 ++++ tracecmd/include/trace-local.h | 3 + tracecmd/trace-record.c | 68 ++++++++++++++----- tracecmd/trace-usage.c | 1 + 4 files changed, 71 insertions(+), 16 deletions(-)