From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16053 invoked by alias); 11 Sep 2015 09:02:56 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16044 invoked by uid 89); 11 Sep 2015 09:02:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mga03.intel.com Received: from mga03.intel.com (HELO mga03.intel.com) (134.134.136.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Sep 2015 09:02:54 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 11 Sep 2015 02:02:54 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 11 Sep 2015 02:02:53 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t8B92pjO001397; Fri, 11 Sep 2015 10:02:51 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id t8B92pil021246; Fri, 11 Sep 2015 11:02:51 +0200 Received: (from mmetzger@localhost) by ulvlx001.iul.intel.com with œ id t8B92pKj021242; Fri, 11 Sep 2015 11:02:51 +0200 From: Markus Metzger To: palves@redhat.com Cc: gdb-patches@sourceware.org Subject: [PATCH] btrace, test: remove buffer-size test with unlimited buffer size Date: Fri, 11 Sep 2015 09:02:00 -0000 Message-Id: <1441962171-20975-1-git-send-email-markus.t.metzger@intel.com> X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00214.txt.bz2 The gdb.btrace/buffer-size.exp test starts recording with an unlimited buffer size. This will, for a short time, use up most if not all BTS resources. I don' think this test is necessary. Remove it. 2015-09-11 Markus Metzger --- gdb/testsuite/gdb.btrace/buffer-size.exp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/gdb/testsuite/gdb.btrace/buffer-size.exp b/gdb/testsuite/gdb.btrace/buffer-size.exp index 86d8270..77290d1 100644 --- a/gdb/testsuite/gdb.btrace/buffer-size.exp +++ b/gdb/testsuite/gdb.btrace/buffer-size.exp @@ -44,14 +44,4 @@ gdb_test "info record" [multi_line \ gdb_test "record stop" ".*" "stop recording with small bts buffer" gdb_test_no_output "set record btrace bts buffer-size 0" -gdb_test "show record btrace bts buffer-size" "The record/replay bts buffer size is unlimited\.\r" "unlimited bts buffer size before recording" - -gdb_test_no_output "record btrace bts" -gdb_test "show record btrace bts buffer-size" "The record/replay bts buffer size is unlimited\.\r" "unlimited bts buffer size while recording" -gdb_test "info record" [multi_line \ - "Active record target: record-btrace" \ - "Recording format: Branch Trace Store\." \ - "Buffer size: .*\." \ - "Recorded 0 instructions in 0 functions \\\(0 gaps\\\) for \[^\\\r\\\n\]*" \ - ] "info record with unlimited bts buffer" -gdb_test "record stop" ".*" "stop recording with unlimited bts buffer" +gdb_test "show record btrace bts buffer-size" "The record/replay bts buffer size is unlimited\.\r" "unlimited bts buffer size" -- 1.8.3.1