From patchwork Fri Dec 9 11:06:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 632252 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp774622pvb; Fri, 9 Dec 2022 03:08:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf40Qm+FgaBw3wMwM6F/PgmlK2pdEzealL9vezsNvPEL85zlqYhI4k55qHo//F9RmNBH4OWa X-Received: by 2002:a67:c904:0:b0:3b0:9330:f5a5 with SMTP id w4-20020a67c904000000b003b09330f5a5mr1737196vsk.5.1670584088102; Fri, 09 Dec 2022 03:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670584088; cv=none; d=google.com; s=arc-20160816; b=zga4ivPHDoEhdun0XvTlii1yfww/I7GoDzNjh9hB9TlvTFHnJ0A9Lt+TvBCrAWr/Sv gEGQAmy0aoABUECrlHNXFTLragqIw4wGS9RrfpKATg8AVhhAg5I4XbyPCkZj758aUqyl /kO/kgU6f4WaEhrYbAOvBepND9pyFW7ATCLS142PkVCoa7nP53VEgdERRX0oohBZI9Oz Upqb6ezXLRQ/Vcg81IIhKc+TtYKF3Z5g2om5l6wbJM4Zewp9gPTaMFr3J0tXVe20H9Fc Wj1lAnH00douk3g+JqqJcYmNTmtjtBgA8E4DO0aHNKhI/eRHR1lF9Wglq5nVDUQzBSp/ idLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Rol1YC6OG7gH13doSoyRHJDeV0JryMZ9eZ3VXv2OjO0=; b=ViZC6rPb6+lZyI7waL+3BSvOTRK0W4LYyopG0AlzdGd2S4fGgXWgilCH6uHl1nczou G+Zb2/bMQPQRpVqACHJjDHnMSXJN0IwzYHVrXZsuHxNxo5nPy0u+VRNNS/KcOsUPEiGo nRVNbAKx3X9MJPv5TxjvjgXLm5Gunk8ENC/qG9hJTc+J0T+dMgihm5F++1XJ4oy3pH8c HD1Q+/D/fDwF9BItaYAx9Uvo9Cfyex6MIaRieYJO2M/UC/+cIAmSUpH6h90nT77RZ/Xn zQqj1TAXYwH1X9McuZnMaDezU7MVL4HNLrMYEW513G+wbIEec7Aiv/GehGLtRC981I2V tEmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dNBz8KhD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bn36-20020a05620a2ae400b006fed32e12easi530592qkb.708.2022.12.09.03.08.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Dec 2022 03:08:08 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dNBz8KhD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3bDh-00052C-8r; Fri, 09 Dec 2022 06:07:09 -0500 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 1p3bDN-0004x4-Qz for qemu-devel@nongnu.org; Fri, 09 Dec 2022 06:06:58 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3bDL-0000bX-PW for qemu-devel@nongnu.org; Fri, 09 Dec 2022 06:06:49 -0500 Received: by mail-wm1-x333.google.com with SMTP id c65-20020a1c3544000000b003cfffd00fc0so5508018wma.1 for ; Fri, 09 Dec 2022 03:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Rol1YC6OG7gH13doSoyRHJDeV0JryMZ9eZ3VXv2OjO0=; b=dNBz8KhD6/xeI3gWNioBuys2fAnPok5uJOhYy8Fc/RqlmTRY1oORcBTAG+K+KFJsa4 jxnS2YX6+TJJRwhYXgy31FC5NMD+CmwJKXBFRWuEIX/iGPMbI/sICPrXRLP9mMFHMcLP 4Ji3LD5TN7MUJvAz4Lng4p1L0qxHzIRYpiD/cIOB5d3Fq37OncgQNwHqTNuL3wLNRjln oJpaOGzqYQcttTVC1LsvKPD0uQk9jw2RjggpFgDU9tufGoqowBOIormP5UrX89HG3fuY 5wfPOXzVExnv5NMIByAnze+mTa6Mn8VEd4ZWL7MwKK2e0CKXO1oVSIv8TmszrFw6Iz2N PzZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Rol1YC6OG7gH13doSoyRHJDeV0JryMZ9eZ3VXv2OjO0=; b=S2X/bDjhkx/8CEFWqEc9AhafIYzZAxxd9sHwBThhgrLv80fZvm8uWWQjKg5YCGvW7G 1jpf8dSxOYXOrYhmXWwiOI79nG8qZwrL/6PLVQYfqp6cuJTxhCsiXfL1pMN37rlAeT/+ QLHUPRpN8zTW8Hvywax6J7jdKQsPD+QZRdXcuVnrchnlAGVWRN3MN7APPBO/GVLN7mwx jKSVl1NViiFZWv0uO/gPhXCIejXM3qu70WJDv7TqZj5NBSRwAfKyWyWUG7BhFImTljjp UV8UY6kf8YpAmd0bjxDtIWEoVCSAiurqt3uSYOdvTfOHZkXkZgpspws88SJ+qZo5eT/K 9Fgw== X-Gm-Message-State: ANoB5pkoYFrvTAyCJei5H2uR9nZWhQm9cVR3fEiwZM6HdWPAv5OsXYhg 97aKHaIjHe/4E4ZvPB78/I8e3SSxa1AtyFxCx28= X-Received: by 2002:a05:600c:ad0:b0:3cf:6f4d:c260 with SMTP id c16-20020a05600c0ad000b003cf6f4dc260mr4706462wmr.32.1670584005944; Fri, 09 Dec 2022 03:06:45 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id f14-20020a1c6a0e000000b003cf75213bb9sm7670850wmc.8.2022.12.09.03.06.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 03:06:45 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Peter Xu , David Hildenbrand , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 v3 2/2] physmem: Remove trace events from trace-root.h Date: Fri, 9 Dec 2022 12:06:31 +0100 Message-Id: <20221209110631.59031-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209110631.59031-1-philmd@linaro.org> References: <20221209110631.59031-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Missed in d9f24bf572 ("exec: split out non-softmmu-specific parts"). Signed-off-by: Philippe Mathieu-Daudé --- softmmu/physmem.c | 2 +- softmmu/trace-events | 5 +++++ trace-events | 5 ----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/softmmu/physmem.c b/softmmu/physmem.c index d562c0bb93..94ee981917 100644 --- a/softmmu/physmem.c +++ b/softmmu/physmem.c @@ -50,7 +50,7 @@ #include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" #include "sysemu/xen-mapcache.h" -#include "trace/trace-root.h" +#include "trace.h" #ifdef CONFIG_FALLOCATE_PUNCH_HOLE #include diff --git a/softmmu/trace-events b/softmmu/trace-events index 22606dc27b..c7d709151d 100644 --- a/softmmu/trace-events +++ b/softmmu/trace-events @@ -21,6 +21,11 @@ flatview_destroy(void *view, void *root) "%p (root %p)" flatview_destroy_rcu(void *view, void *root) "%p (root %p)" global_dirty_changed(unsigned int bitmask) "bitmask 0x%"PRIx32 +# physmem.c +find_ram_offset(uint64_t size, uint64_t offset) "size: 0x%" PRIx64 " @ 0x%" PRIx64 +find_ram_offset_loop(uint64_t size, uint64_t candidate, uint64_t offset, uint64_t next, uint64_t mingap) "trying size: 0x%" PRIx64 " @ 0x%" PRIx64 ", offset: 0x%" PRIx64" next: 0x%" PRIx64 " mingap: 0x%" PRIx64 +ram_block_discard_range(const char *rbname, void *hva, size_t length, bool need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fallocate: %d ret: %d" + # softmmu.c vm_stop_flush_all(int ret) "ret %d" diff --git a/trace-events b/trace-events index b6b84b175e..6e67dfe91b 100644 --- a/trace-events +++ b/trace-events @@ -37,11 +37,6 @@ dma_complete(void *dbs, int ret, void *cb) "dbs=%p ret=%d cb=%p" dma_blk_cb(void *dbs, int ret) "dbs=%p ret=%d" dma_map_wait(void *dbs) "dbs=%p" -# exec.c -find_ram_offset(uint64_t size, uint64_t offset) "size: 0x%" PRIx64 " @ 0x%" PRIx64 -find_ram_offset_loop(uint64_t size, uint64_t candidate, uint64_t offset, uint64_t next, uint64_t mingap) "trying size: 0x%" PRIx64 " @ 0x%" PRIx64 ", offset: 0x%" PRIx64" next: 0x%" PRIx64 " mingap: 0x%" PRIx64 -ram_block_discard_range(const char *rbname, void *hva, size_t length, bool need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fallocate: %d ret: %d" - # job.c job_state_transition(void *job, int ret, const char *legal, const char *s0, const char *s1) "job %p (ret: %d) attempting %s transition (%s-->%s)" job_apply_verb(void *job, const char *state, const char *verb, const char *legal) "job %p in state %s; applying verb %s (%s)"