]> Git Repo - qemu.git/commit - qemu-log.c
qemu-log: add log category for MMU info
authorAntony Pavlov <[email protected]>
Sat, 13 Dec 2014 16:48:18 +0000 (19:48 +0300)
committerPeter Maydell <[email protected]>
Tue, 16 Dec 2014 18:43:19 +0000 (18:43 +0000)
commit339aaf5b7f26d1e638641c59a44883b7654bd8ea
tree43aa54e232bce6e2ece131bfff379a73ed057650
parentd86fb03469e016af4e54f04efccbc20a8afa3e19
qemu-log: add log category for MMU info

Running barebox on qemu-system-mips* with '-d unimp' overloads
stderr by very very many mips_cpu_handle_mmu_fault() messages:

  mips_cpu_handle_mmu_fault address=b80003fd ret 0 physical 00000000180003fd prot 3
  mips_cpu_handle_mmu_fault address=a0800884 ret 0 physical 0000000000800884 prot 3
  mips_cpu_handle_mmu_fault pc a080cd80 ad b80003fd rw 0 mmu_idx 0

So it's very difficult to find LOG_UNIMP message.

The mips_cpu_handle_mmu_fault() messages appear on enabling ANY
logging! It's not very handy.

Adding separate log category for *_cpu_handle_mmu_fault()
logging fixes the problem.

Signed-off-by: Antony Pavlov <[email protected]>
Acked-by: Alexander Graf <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 1418489298[email protected]
Signed-off-by: Peter Maydell <[email protected]>
12 files changed:
cputlb.c
include/qemu/log.h
qemu-log.c
target-cris/helper.c
target-i386/helper.c
target-microblaze/helper.c
target-mips/helper.c
target-ppc/mmu-hash32.c
target-ppc/mmu-hash64.c
target-ppc/mmu_helper.c
target-s390x/helper.c
target-sparc/mmu_helper.c
This page took 0.029048 seconds and 4 git commands to generate.