From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehA3c-0001Jm-Sx for qemu-devel@nongnu.org; Thu, 01 Feb 2018 03:17:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehA3X-0006L5-9c for qemu-devel@nongnu.org; Thu, 01 Feb 2018 03:17:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59916) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ehA3X-0006Ky-3R for qemu-devel@nongnu.org; Thu, 01 Feb 2018 03:17:15 -0500 Date: Thu, 1 Feb 2018 09:17:11 +0100 From: Gerd Hoffmann Message-ID: <20180201081711.vu3ou7mdwww365j2@sirius.home.kraxel.org> References: <20180130051837.8725-1-programmingkidx@gmail.com> <20180130094140.67xjf26jcymuz2bb@sirius.home.kraxel.org> <167881EE-F694-46C3-A15B-94B1733D2E40@gmail.com> <20180131092213.srlhijglevhha6jw@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] hw/audio/sb16.c: Convert file to new logging API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: qemu-devel@nongnu.org > > ldebug() should probably trace points. > > I need help with this. I tried replacing ldebug() with > "qemu_log_mask(LOG_TRACE,", but that caused a lot of messages to be > printed to the terminal. It is odd because I thought I had to use "-d > trace" to make it print. Do you have another suggestion on what to > replace ldebug() with? See docs/devel/tracing.txt You might also have a look at commit 6aa22a29187e1908f5db738d27c64a9efc8d0bfa as example (adds some trace points to vnc code). HTH, Gerd