From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Cno0C+RGymX8xxsAWB0awg (envelope-from ) for ; Mon, 12 Feb 2024 11:27:16 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EaBmN0W1; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 1FAA31E0D2; Mon, 12 Feb 2024 11:27:16 -0500 (EST) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8D6A01E030 for ; Mon, 12 Feb 2024 11:27:13 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B08F8385840F for ; Mon, 12 Feb 2024 16:27:12 +0000 (GMT) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by sourceware.org (Postfix) with ESMTPS id E49893858D38 for ; Mon, 12 Feb 2024 16:26:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E49893858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E49893858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707755209; cv=none; b=tI5hbFz37wtSaf+hLusqDQCgOdMK93fOW4rpemqhlG13nXllRKY4IyT8esDZknOwiuJ2Mydw7Lq3PyXk2lU4klUZWw5C4Y/PL2iSnkmsQLoCbEbFdO7ZYbIDTvV6ef5QGsxKksYh3IvLXNhFMpBfU8axDTGb6yl2zFkE703mJow= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707755209; c=relaxed/simple; bh=FPSlhUS3AozugkzZIZLTkVzOgx6mNBjhsc8Cdfdk1x8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=WI09UwOKVCCPgRBsFw0X13Pp3BmOcPKeHpm9ExS4MOLvLzpHERpPEZI5Fihbr+m628/qw3sQbV/2iWDbms2gncxo12/XzdURi49/Y4NbP8SrIcifKqK3nBDFUqE9jgXF2n+zLjH/PXyabzHKWhn0ceej0Q2x0EZRsz0T/J185qI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707755208; x=1739291208; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FPSlhUS3AozugkzZIZLTkVzOgx6mNBjhsc8Cdfdk1x8=; b=EaBmN0W1ZuC8TBgFl/xuNzVZUrIsQy6l1spjFICI9WkswiMKj7ioVyJO 0PGHdw6p63b9vhr4CdZLSLvQH4qIzvSYByYvON9vvG/iq3sEcIT+9Yj02 okDR9TqWUK6ame8yQ+9iX0N164MK4df3KkL1kfhZE08kZyP7S+nVKgZ3B DP0ffm9BcaijYieyA9cVoQvZBmFnpQa+/hWzTcO0p2FMJ5sWeoJLSHNOk vrkkfyhP7zbuh6xdKA+rgKFFIjYUSiwpdqe/O+66vjC8LRijdw+DTXFt8 KbX19VmW4zSV18kOdQHynTgQcLeHva/UjVEDvutoO/dVk8LuO4h5z7CFE g==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="1644622" X-IronPort-AV: E=Sophos;i="6.06,264,1705392000"; d="scan'208";a="1644622" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 08:26:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,264,1705392000"; d="scan'208";a="2613752" Received: from abijaz-mobl2.ger.corp.intel.com (HELO localhost) ([10.246.49.146]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 08:26:45 -0800 From: Abdul Basit Ijaz To: gdb-patches@sourceware.org Cc: abdul.b.ijaz@intel.com Subject: [PATCH 0/1] update btrace tests to test all recording methods Date: Mon, 12 Feb 2024 17:26:38 +0100 Message-Id: <20240212162639.26109-1-abdul.b.ijaz@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org From: "Ijaz, Abdul B" Hi All, This change updates all btrace related tests in gdb.btrace and gdb.python/py-record-btrace*.exp. After this change, gdb.btrace will, instead of selecting the default recording method, run all tests for all available and applicable methods. This increases testing coverage. Tests ran fine using gcc64/native-gdbserver configurations on Ubuntu22 and Fedora38. Thanks & Best Regard, Abdul Basit Ijaz, Abdul B (1): testsuite, btrace: update btrace testsuite to test all btrace recording methods gdb/testsuite/gdb.btrace/buffer-size.exp | 39 +- gdb/testsuite/gdb.btrace/data.exp | 66 +-- gdb/testsuite/gdb.btrace/delta.exp | 104 +++-- gdb/testsuite/gdb.btrace/dlopen.exp | 39 +- .../gdb.btrace/enable-new-thread.exp | 37 +- gdb/testsuite/gdb.btrace/enable-running.exp | 61 +-- gdb/testsuite/gdb.btrace/enable.exp | 155 ++++--- gdb/testsuite/gdb.btrace/exception.exp | 105 +++-- .../gdb.btrace/function_call_history.exp | 416 +++++++++--------- gdb/testsuite/gdb.btrace/gcore.exp | 36 +- .../gdb.btrace/instruction_history.exp | 305 ++++++------- gdb/testsuite/gdb.btrace/multi-inferior.exp | 64 +-- .../gdb.btrace/multi-thread-step.exp | 108 ++--- gdb/testsuite/gdb.btrace/nohist.exp | 32 +- gdb/testsuite/gdb.btrace/non-stop.exp | 307 ++++++------- gdb/testsuite/gdb.btrace/reconnect.exp | 96 ++-- gdb/testsuite/gdb.btrace/record_goto-step.exp | 42 +- gdb/testsuite/gdb.btrace/record_goto.exp | 312 ++++++------- gdb/testsuite/gdb.btrace/rn-dl-bind.exp | 63 +-- gdb/testsuite/gdb.btrace/segv.exp | 42 +- gdb/testsuite/gdb.btrace/step.exp | 50 ++- gdb/testsuite/gdb.btrace/stepi.exp | 207 ++++----- gdb/testsuite/gdb.btrace/tailcall-only.exp | 94 ++-- gdb/testsuite/gdb.btrace/tailcall.exp | 138 +++--- gdb/testsuite/gdb.btrace/tsx.exp | 2 +- .../gdb.btrace/unknown_functions.exp | 68 +-- gdb/testsuite/gdb.btrace/vdso.exp | 36 +- .../gdb.python/py-record-btrace-threads.exp | 77 ++-- gdb/testsuite/gdb.python/py-record-btrace.exp | 3 +- gdb/testsuite/lib/gdb.exp | 60 ++- 30 files changed, 1710 insertions(+), 1454 deletions(-) -- 2.34.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928