Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3721496pxv; Mon, 19 Jul 2021 07:14:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9ukMzPEwEOJkE2OhqiG/vo6L7X4r8mpDbbzVVt+qC2M6/26x36a6oPAePqKBRP4lSWo9z X-Received: by 2002:a92:ddc3:: with SMTP id d3mr17774940ilr.190.1626704090474; Mon, 19 Jul 2021 07:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626704090; cv=none; d=google.com; s=arc-20160816; b=dt2NmCQYkQm4n2CAmjG9RuqUfSmteCUt+wUrBv9/EucvF1dSy4eAeenzqa8xObyJVv hBazfjcsBW3iaJ1bUv2lJjnRvlY7VGEKYMR9ATfQ7hxrbHVBddYCX3+f8if1KDabh14H HouywpA8sQyaXbegaQS/q6M2eGhjmt+nwUEnipun7bPmts9LdwFeU05pb1mpwvgV3Bi5 CAmYN7AhDsMjQix8EZvLw+GOXMGI+VC/5TgpIVSqDMDiK/Yd1bIt5KmQmMDrrq5JYAod TB5JflDkJqSXRZiH33XU/DyXjj0BzrsdcJ3rLuSeSnhyOcfM2AyIksyT7NPrkXJrmVfL y3Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=OJDt8pC8exvZgrqJGymyNQ7DuIkuHsyhfM6kR8PYWvE=; b=S9uolZthW/GA982Ce74Xco81l0OIMxRgBjPk2E3msDLxYDFfGGk6H5zy5TQMq30qTR DA6rj181bFVIsQPVFukrtExMyLAdU9PRqOvWlx2yDvS0AhXc8KK3YoWDGL1kwQSCJYoc gXDaJBK87zIA2LFDIdNgUAlR7gnPbd+89XX0iEpAd9SBrEgLvVgcSHUozeTNJeFLYnNp qoZpcgU3HG+qv2Ov1SK7dZZj+fR8c/6rDszS+y/0W0w6AlLZ2DSKcLtc1P4Ccvtll3+F w/EdqFhqpuXA1FSoQfyxRMYRKMMae4iIuxj1Igoeow2zC+Un1JOoL033cmxPhrkfuJnN Lg7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si19769798ilj.25.2021.07.19.07.14.37; Mon, 19 Jul 2021 07:14:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240370AbhGSNFZ (ORCPT + 99 others); Mon, 19 Jul 2021 09:05:25 -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() > >