From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 906F4C2D0A3 for ; Mon, 16 Nov 2020 17:10:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C13820E65 for ; Mon, 16 Nov 2020 17:10:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="FqNcOXG2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732565AbgKPRKT (ORCPT ); Mon, 16 Nov 2020 12:10:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:40098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729841AbgKPRKS (ORCPT ); Mon, 16 Nov 2020 12:10:18 -0500 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (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 DDCDB207BC; Mon, 16 Nov 2020 17:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605546618; bh=uyxtp8pl/baUuN3tyAuMlU0OeRREEZTtqZFl5mU/Tqg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FqNcOXG2ffBgaW3j+M6c4iPLi9iYNm7J1zru0mqpOTo0UJvpRmQ5BsGuyHEN6PB5E nRX67SjZIsluA+X9kcZ/BbUrhHPt4U4xGqYUnsE1KlVaNIyFZ90O07N6I5k2i8d7p7 pnWMI7c36YPStJNjhdmJ90IHI220zvoX802+Fb88= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E5D62411D1; Mon, 16 Nov 2020 14:10:15 -0300 (-03) Date: Mon, 16 Nov 2020 14:10:15 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: kajoljain , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Namhyung Kim , Andi Kleen , Jin Yao , Kan Liang , Adrian Hunter , Leo Yan , LKML , Stephane Eranian Subject: Re: [PATCH v2] perf expr: Force encapsulation on expr_id_data Message-ID: <20201116171015.GH509215@kernel.org> References: <20200826153055.2067780-1-irogers@google.com> <20200826155733.GB783610@krava> <4b6bc995-d468-3137-f00f-3867233740a3@linux.ibm.com> <20200904162920.GV3495158@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Nov 13, 2020 at 10:38:28AM -0800, Ian Rogers escreveu: > On Fri, Sep 4, 2020 at 9:29 AM Arnaldo Carvalho de Melo > wrote: > > > Em Thu, Sep 03, 2020 at 10:53:16PM -0700, Ian Rogers escreveu: > > > On Thu, Aug 27, 2020 at 12:00 AM kajoljain wrote: > > > > > > > > > > > > > > > > On 8/26/20 9:27 PM, Jiri Olsa wrote: > > > > > On Wed, Aug 26, 2020 at 08:30:55AM -0700, Ian Rogers wrote: > > > > >> This patch resolves some undefined behavior where variables in > > > > >> expr_id_data were accessed (for debugging) without being defined. To > > > > >> better enforce the tagged union behavior, the struct is moved into > > > > >> expr.c and accessors provided. Tag values (kinds) are explicitly > > > > >> identified. > > > > > > > > Reviewed-By: Kajol Jain > > > > > > > > Thanks, > > > > Kajol Jain > > > > >> > > > > >> Signed-off-by: Ian Rogers > > > > > > > > > > great, thanks for doing this > > > > > > > > > > Acked-by: Jiri Olsa > > > > > > > > > > jirka > > > > > > > > > > > Thanks for the reviews! Arnaldo could this get merged? Thanks! > > > > I'll get this and the other outstanding patches into perf/core soon as I > > got urgent stuff already merged by Linus, > > > > Thanks! > > > > - Arnaldo > > > > I just spotted this wasn't merged and will conflict with: > https://lore.kernel.org/lkml/20201113001651.544348-1-irogers@google.com/ > I can fix that patch when this lands. Thanks, applied, will test build and push publicly today. - Arnaldo