From nobody Tue Feb 10 23:00:56 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1695908796; cv=none; d=zohomail.com; s=zohoarc; b=TFTSVeHeQGBgL9432hYXPbccO0TR7Hzs/p9CUKwW4Oe34oTETrDSOgepJeH//xoHeTPojLqXCZxocrt0ybrxyiJGF7Mghma+EVA7sI+4/7Fy8RliYMCB1+R1WUZR7ntw4lLhF9KuLn5Uzg6Apa1YdJXJSoUGmh6wRQDoIFBahLI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1695908796; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5a+Sfl4+XDRgp7FT+3zfvklhFMtJBxRGcdWHy6W9jaI=; b=DpyNCyNJocbxKGHUCMqHlk4JkqODuEtds5yTo8FCcu2LHxhKEVRP3vTMOzx3FiUR/J2vB4WX6J/9d8TYcnWPxCwsrRaSWMUXXB0KRdgqfCiW/awJqqz6kgmGHN0FB77lLhZhxdG/K1LzZRf9TdoU/j0IDEdRfvC4oiERTER0C+8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1695908796265979.4405451197892; Thu, 28 Sep 2023 06:46:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlrJk-0000zF-Nn; Thu, 28 Sep 2023 09:44:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlrJe-0000vM-NK for qemu-devel@nongnu.org; Thu, 28 Sep 2023 09:44:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlrJP-0005FU-Eo for qemu-devel@nongnu.org; Thu, 28 Sep 2023 09:44:30 -0400 Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-515-0KtYT3rOMqq7fvU9PsHbmQ-1; Thu, 28 Sep 2023 09:44:11 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4066C3C40C0D; Thu, 28 Sep 2023 13:44:11 +0000 (UTC) Received: from localhost (unknown [10.39.195.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8CA592156A27; Thu, 28 Sep 2023 13:44:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695908653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5a+Sfl4+XDRgp7FT+3zfvklhFMtJBxRGcdWHy6W9jaI=; b=JNCXmJgH+cu+gAtw1UvaHHOGhb2AdKh8GXYDm09nQxYqNlNLr7XxrpLPlyQzc3+LrbPL1G HFSFdiVbuTvezKK2OkNMWcQZb1hvyTyqQGpkI4IZ64GWxoB4KOaMIH9QG+EqCKosKw0IUY 97lyH5yq8/dkHKwOn2TUfrsyn0Ci38k= X-MC-Unique: 0KtYT3rOMqq7fvU9PsHbmQ-1 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Mads Ynddal , John Snow , Cleber Rosa , Mads Ynddal , Stefan Hajnoczi Subject: [PULL 01/14] simpletrace: add __all__ to define public interface Date: Thu, 28 Sep 2023 09:43:54 -0400 Message-ID: <20230928134407.568453-2-stefanha@redhat.com> In-Reply-To: <20230928134407.568453-1-stefanha@redhat.com> References: <20230928134407.568453-1-stefanha@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1695908797265100001 Content-Type: text/plain; charset="utf-8" From: Mads Ynddal It was unclear what was the supported public interface. I.e. when refactoring the code, what functions/classes are important to retain. Reviewed-by: Stefan Hajnoczi Signed-off-by: Mads Ynddal Message-id: 20230926103436.25700-2-mads@ynddal.dk Signed-off-by: Stefan Hajnoczi --- scripts/simpletrace.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/simpletrace.py b/scripts/simpletrace.py index 1f6d1ae1f3..b221d9a241 100755 --- a/scripts/simpletrace.py +++ b/scripts/simpletrace.py @@ -14,6 +14,8 @@ from tracetool import read_events, Event from tracetool.backend.simple import is_string =20 +__all__ =3D ['Analyzer', 'process', 'run'] + header_event_id =3D 0xffffffffffffffff header_magic =3D 0xf2b177cb0aa429b4 dropped_event_id =3D 0xfffffffffffffffe --=20 2.41.0