Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3854443imm; Mon, 8 Oct 2018 10:34:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV61eOqBPqSw37wkC0SPZUaSXqvblYFQZNsZkc+nKUVdC1vHNCQ/8ZI5lA39JETfkiZTz0+DS X-Received: by 2002:a63:2503:: with SMTP id l3-v6mr5917895pgl.69.1539020084859; Mon, 08 Oct 2018 10:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539020084; cv=none; d=google.com; s=arc-20160816; b=NW4g6H07urn81HGUvO2pak5IOvqbqLnrnA1CcfEDedZe4nuFs9g2k+UruASG9/JxOo oVtaSvXy8MZEczrMagmrovbOJpfj+7sQsm1ZNogZ+Cv7psZ570ItAdtBH8+BGw4koKAd TSmOtGHCA913B1UQGmux8UzU/xJ62bstpQi5tc0pPEgMDth3xCliwEyyN+TC2XPHAhhz BqVvJ98bgEd0bqjSMf7eLLW5ykFMEBSYL2BjMpMmze2hj9pOBdPiRZYkiOde9fWJ/+S9 eIkJQmsn0SbxzIl5QsMF4CN+60LJFP3Ijg2gT5TeW6SruSZuYoAwjEuGXcGsGB7IOrAm IYlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XwUrqOCFON/FG5UxpsYwB6xiqrs/c+PAPPhZ11xX9GE=; b=y2NYgyvNPCDw7O+dBKETHnTlIMvcMh0mIRuhQ2HsydV8YgIjWexyAtdgwCxmiuxbCq KRTDwFCGcgSXsZAsmLMTN+PSGIe6RFVYyQFndBm4pAOQUaYehBnX/mWM+tnmVCKSecBY iqCSRqR1WRcD3ixyeKL1aZlHYQnNoWPfgIfn4l3bJuGxEj4njLPAlkVLfCACwDbg2g7i 66DZB84umqkz4JptY7VWBLE/kR5NOOLQM6xcw4X8FNpEeJaxuIeNF7mLdhZEfIzx+PwC NMx0lTqLe3sWzgbn8Z5mEsz+Gwuz1f734UyEzjr0Jn+a77RHiSXwOJsHv0Mma4+7ZIx+ 7ffg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lCJ8e+1R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id q185-v6si20554636pfb.277.2018.10.08.10.34.30; Mon, 08 Oct 2018 10:34:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lCJ8e+1R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726750AbeJIApX (ORCPT + 99 others); Mon, 8 Oct 2018 20:45:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:54324 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbeJIApX (ORCPT ); Mon, 8 Oct 2018 20:45:23 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (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 8AF64213A2; Mon, 8 Oct 2018 17:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539019956; bh=m1cy465tGbP9LvOAiJIeud5XZo/ckxyYUvBKDGWYjQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lCJ8e+1RmyUhBOO9EpoonEhyaRJ+4TgNcGSDD2LVeLWzF1aLFNkDMHSc7gs9fJLf/ /9ZPqkJONygHJm5W2y77SUwcqfWdN4DrJIgFYUpq0dMESCfOZ6t5NafF1UinMQtayr paA1iA9LKWe85Qm2HhDMjtVgQPGBir7oxlb14/ak= Received: by jouet.infradead.org (Postfix, from userid 1000) id 9E22F141DDC; Mon, 8 Oct 2018 14:32:24 -0300 (-03) Date: Mon, 8 Oct 2018 14:32:24 -0300 From: Arnaldo Carvalho de Melo To: Steven Rostedt Cc: LKML , Linux Trace Devel , Tzvetomir Stoyanov , Jiri Olsa , Ingo Molnar , Namhyung Kim Subject: Re: [PATCH] tools/lib/traceevent, tools/perf: Move struct tep_handler definition in a local header file Message-ID: <20181008173224.GP3541@kernel.org> References: <20181005122225.522155df@gandalf.local.home> <20181005122846.4b974dbd@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005122846.4b974dbd@gandalf.local.home> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Oct 05, 2018 at 12:28:46PM -0400, Steven Rostedt escreveu: > On Fri, 5 Oct 2018 12:22:25 -0400 > Steven Rostedt wrote: > > > +/** > > + * tep_get_first_event - returns the first event in the events array > > + * @tep: a handle to the tep_handle > > + * > > + * This returns pointer to the first element of the events array > > + * If @tep is NULL, NULL is returned. > > + */ > > +struct tep_event_format *tep_get_first_event(struct tep_handle *tep) > > +{ > > + if(tep && tep->events) > > + return tep->events[0]; > > + > > + return NULL; > > +} > > + > > Hold off on pulling this in. This patch has some whitespace issues that > need to be cleaned up. Ah, that if( thing? ?I can fix it here, holler if there is more than that.