[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 0/3] Tweaks to linux-user -dfilter
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [RFC PATCH 0/3] Tweaks to linux-user -dfilter |
Date: |
Thu, 9 Aug 2018 18:55:50 +0100 |
Hi,
While debugging a dynamically linked program I got frustrated having
to manually calculate the .text segment to avoid the logs getting
filled up with library stuff I wasn't really interested in. This
allows us to:
- have multiple -dfilter lines for flexibility
- specify -dfilter progtext as a shortcut
We could potentially extend this to handle -dfilter lib at a later
date.
Thoughts?
Alex Bennée (3):
util/log: allow -dfilter to stack
util/log: add qemu_dfilter_append_range()
linux-user: add -dfilter progtext shortcut
include/qemu/log.h | 2 ++
linux-user/main.c | 16 +++++++++++++++-
tests/test-logging.c | 14 ++++++++++++++
util/log.c | 29 +++++++++++++++++++++++------
4 files changed, 54 insertions(+), 7 deletions(-)
--
2.17.1
- [Qemu-devel] [RFC PATCH 0/3] Tweaks to linux-user -dfilter,
Alex Bennée <=