From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRLKm-0001dn-Ks for qemu-devel@nongnu.org; Thu, 04 Feb 2016 09:56:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRLKi-0001Ns-Fd for qemu-devel@nongnu.org; Thu, 04 Feb 2016 09:56:36 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:35781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRLKi-0001Ms-8W for qemu-devel@nongnu.org; Thu, 04 Feb 2016 09:56:32 -0500 Received: by mail-wm0-x234.google.com with SMTP id r129so215663439wmr.0 for ; Thu, 04 Feb 2016 06:56:32 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Thu, 4 Feb 2016 14:56:12 +0000 Message-Id: <1454597781-18115-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v5 0/9] qemu-log, -dfilter and other logging tweaks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, dgilbert@redhat.com, crosthwaitepeter@gmail.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net, rth@twiddle.net Hi, With the approaching soft-freeze I realised I'd better get the next iteration of these patches out. I've dropped the perf.map and logging system invocation patches to be revisited at a later date. A bunch of commits have gained Reviewed-by tags from v4 and are mostly unchanged. However there are some have seen a bit of churn: The tcg patch is a lot simpler than previously thanks to clean-ups in the tcg code. This means the controversial storing of size in the TranslationBlock is gone and the patch is a simple pushing down of the TB structure for debugging purposes. The -dfilter patch has seen a little clean-up following IRC discussion. The range operator is now .. which means - acts as the more intuitive mathematical operation like its + counterpart. The dfilter-ise exec, out_asm patch also includes op and opt_op output thanks again to the re-factoring moving this out of per-target code. This in turn means the target-arm patch now only deals with in-asm. Discussion on previous patches about exec output are now out of date as -d nochain has already been merged. I've slightly tweaked the help text to reflect that. The question of which tree is going to take these patches remains open as qemu-log is currently un-maintained. As these are mostly focused at TCG work perhaps via the TCG code tree? Richard/Peter any objections? Alex Bennée (7): tcg: pass down TranslationBlock to tcg_code_gen qemu-log: correct help text for -d cpu qemu-log: support simple pid substitution in logfile qemu-log: new option -dfilter to limit output qemu-log: dfilter-ise exec, out_asm, op and opt_op target-arm: dfilter support for in_asm cputlb: modernise the debug support Peter Maydell (2): qemu-log: Avoid function call for disabled qemu_log_mask logging qemu-log: Improve the "exec" TB execution logging cpu-exec.c | 21 +++++---- cputlb.c | 54 +++++++++++++-------- include/exec/exec-all.h | 5 ++ include/qemu/log.h | 28 ++++++++++- qemu-log.c | 115 +++++++++++++++++++++++++++++++++++++++------ qemu-options.hx | 18 +++++++ target-arm/translate-a64.c | 3 +- target-arm/translate.c | 3 +- tcg/tcg.c | 12 +++-- tcg/tcg.h | 2 +- translate-all.c | 13 +++-- vl.c | 3 ++ 12 files changed, 218 insertions(+), 59 deletions(-) -- 2.7.0