From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F209C12002 for ; Mon, 19 Jul 2021 13:46:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 47D136108B for ; Mon, 19 Jul 2021 13:46:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240389AbhGSNF0 (ORCPT ); Mon, 19 Jul 2021 09:05:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:35958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240351AbhGSNFZ (ORCPT ); Mon, 19 Jul 2021 09:05:25 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 6F13261026; Mon, 19 Jul 2021 13:46:04 +0000 (UTC) Date: Mon, 19 Jul 2021 09:45:57 -0400 From: Steven Rostedt To: Chuck Lever III Cc: Linus Torvalds , LKML , Ingo Molnar , Andrew Morton Subject: Re: [GIT PULL] tracing: histogram fix and take 2 on the __string_len() marcros Message-ID: <20210719094557.5b9f5349@oasis.local.home> In-Reply-To: References: <20210715215753.4a314e97@rorschach.local.home> <20210716143705.56001390@oasis.local.home> <20210716171805.55aed9de@oasis.local.home> <26A9CF5A-0724-4D4B-BC59-09849EC33326@oracle.com> <20210716205510.7f565b98@oasis.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 17 Jul 2021 16:51:58 +0000 Chuck Lever III wrote: > Thanks. I can carry whichever version of this patch that both you > and Linus are happy with. I will apply my changes to use __string_len() > on top of it, and send the whole mess when v5.15 opens in a couple > months. The version in this email is the one that I believe is something that myself and Linus can live with. It uses memcpy() as it replaces a memcpy() and I added documentation about it in the samples/trace_events/ directory. -- Steve > > > > Hopefully > > it wont conflict with other work I'm doing. But if it does, we'll work > > it out. I don't have any code that relies on it. > > > > -- Steve > > > > From: "Steven Rostedt (VMware)" > > Subject: [PATCH] tracing: Add trace_event helper macros __string_len() and > > __assign_str_len() > >