Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3349239pxu; Tue, 8 Dec 2020 09:40:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrkpZj9ylNEhPi4wOjAQTlWsvGWMBi4k6FACrr28g4D/dQ68tBCpkjveBnWPJ53egsEiaQ X-Received: by 2002:a50:ce48:: with SMTP id k8mr25512963edj.298.1607449246402; Tue, 08 Dec 2020 09:40:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607449246; cv=none; d=google.com; s=arc-20160816; b=RmU4qCBsUE/QwnmkX7rNHLuyc6j7f4sC8KFt95ub9zFknguG2M227TJaPKxkpmWD5e yFj0fT+54VuZ/uyu79j+GjOYYFRQ7Q524x0RYwTBk1HofkgJjPsOiBsIzb6cCqJJbcug 3WuWIFJ6XIZHeFd0+VAZX+pbh0V5aweWYfmPbiCspM+2NKgRoCA9Uke6ORG1YzrTKQ3x 7MB12ms6Fo4IkhVU1WbqOedRz+xMCe9xKH5ODOBFaSbnV3cmH7NQ0a9Isu6n239OoOL2 bPiKvWBitxaYqkkS/a8R37nc8arZHZDiN9R9kaTbswASuobyf8PText8KPYUYMcJxd5w Z55Q== 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:date:cc:to:from:subject:dkim-signature :message-id; bh=SdzDpblwkDxiwSS7fr/2KVD3hxUlgNT9uWieTCJQ+vQ=; b=UFuS9wmSl9BA+TbLXbjx/b9eJWcs/cHss1Tug3zxDVTfvwjzYz/gPPxLjhOFGPolqv WGamrfNvSRbbKTCAf+zrAqaG5PREcvnQvU7jVHzU4cA3PW1BWEW8o8PMbmyUQcAvsNTv +yCCGj6Hqw9kkdp68t9vOgp9gUtsQE5QDH2cUue4YFujUqrPf99F8ergcZDyH3/GkR7a ceRtgdlfn+DGNTTfye8qstI/otvTrcwdqbcJOLSIyuJkCtxeiNT0pDbZ1SRS70Oqpex6 JOVrWep0afnpF7Uh9MFhyzbJPgtdrYbTeUIElQrpYr7uJRdAuRUB4olFF5mCYQyHlsTu BH6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TPQwg0AO; 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 m7si9680547eji.682.2020.12.08.09.40.23; Tue, 08 Dec 2020 09:40:46 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TPQwg0AO; 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 S1730715AbgLHRhp (ORCPT + 99 others); Tue, 8 Dec 2020 12:37:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:34652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729585AbgLHRho (ORCPT ); Tue, 8 Dec 2020 12:37:44 -0500 Message-ID: <084304b37aadc6815836fff192b11e8c5dfa3705.camel@kernel.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607449024; bh=HrrJZmLb0KDAr7R5/mtl1VcdITtRUdq8cg5JLRw3psc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=TPQwg0AOaFpbjGDmnD9HFfJombiRUfuOVaQ3OPxlRtRlEiXtHkgCJrW3ZpjrV/4ih PtsuPXi3Y7WbALBQCmpjCgwGzCHd81Q9ewuTBWluVlO/RGx1cBOmnhZ3PZrCKASWtI bUuQL/Hu94JmK4DrjsGC8gCskEkAYF/g6wqlQnqU6KkMl4xfx3tesVIWjWkFdNo4XU JmXUlGeRf22kvhaUrw35u+Y1ltWB2rUnnqX5qw/ik2Jkh+r5Pt+yjfFOJyWmKSuu/O AdbfyeDT8T1gmaHngkFJYaUeAFP/FapfHsN06jc1Wj0CgXDq22svfDNez5m+TyZ6sn SwBukSAsV00tw== Subject: Re: [PATCH v3 2/5] tracing: Rework synthetic event command parsing From: Tom Zanussi To: Steven Rostedt Cc: axelrasmussen@google.com, mhiramat@kernel.org, linux-kernel@vger.kernel.org Date: Tue, 08 Dec 2020 11:37:02 -0600 In-Reply-To: <20201207191630.1d644037@gandalf.local.home> References: <20201207191630.1d644037@gandalf.local.home> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steve, On Mon, 2020-12-07 at 19:16 -0500, Steven Rostedt wrote: > 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 > Oops, yeah, a stray check_command() call got left behind in that patch when refactoring, should be moved to the next patch. Tom > -- Steve