Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4072451pxk; Tue, 29 Sep 2020 13:35:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVUf3DnJmilFSX2gHhoykGCLcWMD58WpxLXZarVF14MamprMm4Yc8XCjHmlCk5tgkBnRnj X-Received: by 2002:a05:6402:1819:: with SMTP id g25mr5116461edy.292.1601411722429; Tue, 29 Sep 2020 13:35:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601411722; cv=none; d=google.com; s=arc-20160816; b=t5f29EdMmDwBI+NZYdvl1Ty1HHCsOlsy6NmyMtP3G4p3sPuPKGx4mVhj2wX7KAMP7s Q3ybWMZie8mns5C8O2lV4BEyCPHrff2X1zSPOhiB729tf7g/7LEN1X/Mgf4kVHbtrfS8 nunEGHKTq5ZhFSDD83n0lf85zc8Mrgdyl+oOEIlJ8WGF2Dx4HKqwnuQoqk1kyd4KRuRl kT7JNkXz+gjh9GWZWSDYC5dE1T+IiBKRV5ZxN1/lNLftd+h7dgJPIcs6lyvkOROIFw8V uwAeC5MnnR6chhH7HCKrWeKGASAYHhIjGjCvTl3cYO3r1UtKicj1gpN7gLf7Q4Th8zCi qitg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=JgaRCiZMVqySI9Sc36cnxJLiWS5RAiq/MjZoLcqT6Bk=; b=l6cdhhejXazqP3AwXB74vWAdC4aGrQxCR1jMDAVx93w7dAEzJD9Fmk9Wl9Iks9Y02g WbnWApeYKXvMeFpIvINUk1wkND4O9MwvWtNm/sxCgDN/n6GJ8fJpwgRRZ2C6nmWz+K/6 LiuQu1MapO0z4zt0c50D3U8HPeUqg+JFz4LpnslxdRy5dZ36vAcwAFh+8KoOOg33Hhgu O2zpNw0Eg1wLtMhBp1m4MGooTuDk9kk3DhTqfcQyluMGGV6R3gfIzISaHI2/oCvueDam PUNuLlUApkhPq4A6/9h3t54dhYsb/U1+yjI26QX4nPwi1gxn2eITYGiUCZcDylks2ctK n30A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vCkJrQL3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si3684702edf.103.2020.09.29.13.34.59; Tue, 29 Sep 2020 13:35:22 -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; dkim=pass header.i=@kernel.org header.s=default header.b=vCkJrQL3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729159AbgI2Udp (ORCPT + 99 others); Tue, 29 Sep 2020 16:33:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:41752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728396AbgI2Udp (ORCPT ); Tue, 29 Sep 2020 16:33:45 -0400 Received: from localhost.localdomain (c-98-220-232-140.hsd1.il.comcast.net [98.220.232.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3FB222076B; Tue, 29 Sep 2020 20:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601411624; bh=2ARM7EtvfC73dYBwbKeX0GvCQ36DtNcMhe7IIldK8gY=; h=From:To:Cc:Subject:Date:From; b=vCkJrQL3FiQ4cFWvD1kv7F21MIl+BeLri+YYMb51yKQIP/0471vGL13b3URDEJ3r+ gmjBE/j8YJIBwMInmCtUtBqZ+/OoHoIFfa9rCLHb1MgjYpqJZ1yh+qBka38S5M26pN iNIl/ctFsUFTef+19r9XRRyvfsCrAcdOI/YrJFQI= From: Tom Zanussi To: rostedt@goodmis.org, axelrasmussen@google.com Cc: mhiramat@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] tracing: Add dynamic strings for synthetic events Date: Tue, 29 Sep 2020 15:33:38 -0500 Message-Id: X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset adds support for dynamic strings for synthetic events, as requested by Axel Rasmussen. Actually, the first two patches should be applied in any case - the first just changes the current max string length and the second fixes a bug I found while testing. It works fine for my simple test cases, but I still need to do a lot more testing, especially of the in-kernel API parts, which don't affect Axel's use case. Anyway, Axel, please try it out and send me your Tested-by: if it works for you, and your broken testcase(s) if it doesn't. ;-) Thanks, Tom The following changes since commit 106c076d23cca67c959a6fd1ccadb5b3ef01ddc9: mmap_lock: add tracepoints around lock acquisition (2020-09-23 08:48:08 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/zanussi/linux-trace.git ftrace/synth-dynstring-v0 Tom Zanussi (3): tracing: Change STR_VAR_MAX_LEN tracing: Fix parse_synth_field() error handling tracing: Add support for dynamic strings to synthetic events Documentation/trace/events.rst | 15 ++- Documentation/trace/histogram.rst | 18 ++++ kernel/trace/trace_events_hist.c | 9 ++ kernel/trace/trace_events_synth.c | 163 ++++++++++++++++++++++++++---- kernel/trace/trace_synth.h | 6 +- 5 files changed, 186 insertions(+), 25 deletions(-) -- 2.17.1