From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id B6B823857817 for ; Fri, 21 Jan 2022 15:18:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B6B823857817 Received: from [2001:470:142:3::e] (port=41344 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAvg1-0006oP-1x for gdb@sourceware.org; Fri, 21 Jan 2022 10:18:09 -0500 Received: from ip5f5a8abe.dynamic.kabel-deutschland.de ([95.90.138.190]:53579 helo=[192.168.111.41]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAvg0-0007H4-7j for gdb@sourceware.org; Fri, 21 Jan 2022 10:18:09 -0500 Message-ID: <40aebee9-d4ed-3a94-2341-cc17beeb6431@gnu.org> Date: Fri, 21 Jan 2022 16:18:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 From: Simon Sobisch To: gdb@sourceware.org Content-Language: en-US Subject: How to use bts recording? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2022 15:18:11 -0000 (gdb) record btrace bts Could not enable branch tracing for Thread 0x7ffff7fe6740 (LWP 2464935): Failed to start recording: No such file or directory. What does this message, raised by GDB 9.2, want to tell me? Looks like GDB 11.1 is a bit better: (gdb) record btrace bts Could not enable branch tracing for Thread 0x7ffff7fe4740 (LWP 2756): Failed to start recording: Operation not supported How to get that operation working? ... still on the road to understand GDBs recording... Simon