Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2810613pxu; Mon, 7 Dec 2020 16:54:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoVo8QjzrDTZNach3LGnzpa8j1Z7GnK746vHOh1xhPILmr0GUXcPrSdmnwDkaDrEu1kc7E X-Received: by 2002:a17:906:895:: with SMTP id n21mr21088169eje.52.1607388864604; Mon, 07 Dec 2020 16:54:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607388864; cv=none; d=google.com; s=arc-20160816; b=JtIpk5LVNYCNeQO5qGDni0QK64SjqB5sG2d8WzLD0ZB64cDL8ny2wOXLJAWqzAUuOT cWjUBJn1RCav1dEz2pUxslSVSE7EQ64EhHZ5ryGLEzWCMEhzdFzhlMWkFRD+IdL4mXHl aAX32MtzOjFSA9OiLD8unMehSMHIYl+Qp+kv2bo51JTxHnfdMl5pIA8rw9OcA45yZLEB 7Yrl2RO3nuAm/XbPFepQL1b9JJoSSfGhRGUhsI3JjAHUkhjXN8s8c0evcOWMXwXupfJW aS/Qqgoy1ceFmcS2wkt42dXxuwMeHesiyhTwAEBEqxf7iMHucZyhQkp18U4K3t7lUaCi S9nA== 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=5G2BmiXlnXL5NriaQoDvZb22M/mRoIAgdmK6g+RBkcM=; b=bAvKcyJgDjJBNqnamR5aW6M8Ps3sD1IhX+WsXjFHv22OkgXCtYSNK2pr/Jb7HTjYlM O7NEAwYIiXCpXnLn8zHYhZdYZxU+4TzndCZvqrBu6M8ib9sKq9wXVLfAJOIPc+AIkQjw T0FhIecxTRatfiw3myUCwsUdFRPRckwRSEI6/712BsOVBmHSW/FhgLVeJsC18ul55KDp +SOlvTK1dBkQYn8+5hzRD+8zfwVJfdwdD6/+NL74SnaHxEHBoflBdNceCVzAJyiYMd/C JxEXYYTHlCN+ZFxRL3d6nuLqVJ8c3FnkAI0MIt3guxW5Jn2PPAdI2VfWjDoES3JcSwhK SxUw== 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 hd41si8037350ejc.168.2020.12.07.16.54.02; Mon, 07 Dec 2020 16:54:24 -0800 (PST) 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 S1728534AbgLHARN convert rfc822-to-8bit (ORCPT + 99 others); Mon, 7 Dec 2020 19:17:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:51388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727646AbgLHARN (ORCPT ); Mon, 7 Dec 2020 19:17:13 -0500 Received: from gandalf.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 84F6323A04; Tue, 8 Dec 2020 00:16:32 +0000 (UTC) Date: Mon, 7 Dec 2020 19:16:30 -0500 From: Steven Rostedt To: Tom Zanussi Cc: axelrasmussen@google.com, mhiramat@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/5] tracing: Rework synthetic event command parsing Message-ID: <20201207191630.1d644037@gandalf.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Oct 2020 10:06:10 -0500 Tom Zanussi wrote: > Now that command parsing has been delegated to the create functions > and we're no longer constrained by argv_split(), we can modify the > synthetic event command parser to better match the higher-level > structure of the synthetic event commands, which is basically an event > name followed by a set of semicolon-separated fields. > > Since we're also now passed the raw command, we can also save it > directly and can get rid of save_cmdstr(). > > Signed-off-by: Tom Zanussi > --- > This patch fails to build with: CC kernel/trace/trace_events_synth.o /work/git/linux-trace.git/kernel/trace/trace_events_synth.c: In function ‘create_or_delete_synth_event’: /work/git/linux-trace.git/kernel/trace/trace_events_synth.c:1372:8: error: implicit declaration of function ‘check_command’ [-Werror=implicit-function-declaration] 1372 | ret = check_command(raw_command); | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/work/git/linux-trace.git/scripts/Makefile.build:283: kernel/trace/trace_events_synth.o] Error 1 make[2]: *** [/work/git/linux-trace.git/scripts/Makefile.build:500: kernel/trace] Error 2 make[1]: *** [/work/git/linux-trace.git/Makefile:1799: kernel] Error 2 make[1]: Leaving directory '/work/git/nobackup/bxtest/trace' make: *** [Makefile:185: __sub-make] Error 2 -- Steve