From patchwork Wed Dec 12 17:30:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1012147 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43FP8P5LzKz9s3q for ; Thu, 13 Dec 2018 04:35:01 +1100 (AEDT) Received: from localhost ([::1]:46383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gX8PT-0001TK-1p for incoming@patchwork.ozlabs.org; Wed, 12 Dec 2018 12:34:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gX8LB-0006yY-IY for qemu-devel@nongnu.org; Wed, 12 Dec 2018 12:30:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gX8L9-00018x-7N for qemu-devel@nongnu.org; Wed, 12 Dec 2018 12:30:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gX8L8-0000tl-VK; Wed, 12 Dec 2018 12:30:31 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E02843C2CE7; Wed, 12 Dec 2018 17:30:11 +0000 (UTC) Received: from thinkpad.redhat.com (ovpn-204-190.brq.redhat.com [10.40.204.190]) by smtp.corp.redhat.com (Postfix) with ESMTP id DD7F960C44; Wed, 12 Dec 2018 17:30:08 +0000 (UTC) From: Laurent Vivier To: qemu-devel@nongnu.org Date: Wed, 12 Dec 2018 18:30:01 +0100 Message-Id: <20181212173007.11407-1-lvivier@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 12 Dec 2018 17:30:12 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 0/6] unicore32/puv3: Convert from DPRINTF() macro to trace event X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Laurent Vivier , Guan Xuetao , Michael Tokarev , =?utf-8?q?Ph?= =?utf-8?q?ilippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Remove the definition of DPRINTF() in include/hw/unicore32/puv3.h and convert to trace event all the puv3_*.c files. Compile tested but I didn't find any unicore32 kernel to test the trace output. Laurent Vivier (6): hw/dma/puv3_dma: Convert from DPRINTF() macro to trace event hw/dma/puv3_gpio: Convert from DPRINTF() macro to trace event hw/dma/puv3_intc: Convert from DPRINTF() macro to trace event hw/misc/puv3_pm: Convert from DPRINTF() macro to trace event hw/timer/puv3_ost: Convert from DPRINTF() macro to trace event unicore32/puv3: remove definition of DPRINTF Makefile.objs | 1 + hw/dma/puv3_dma.c | 11 +++++------ hw/dma/trace-events | 6 ++++++ hw/gpio/puv3_gpio.c | 15 +++++++-------- hw/gpio/trace-events | 6 ++++++ hw/intc/puv3_intc.c | 13 ++++++------- hw/intc/trace-events | 7 +++++++ hw/misc/puv3_pm.c | 11 +++++------ hw/misc/trace-events | 6 ++++++ hw/timer/puv3_ost.c | 14 ++++++-------- hw/timer/trace-events | 7 +++++++ include/hw/unicore32/puv3.h | 7 ------- 12 files changed, 62 insertions(+), 42 deletions(-) create mode 100644 hw/gpio/trace-events