qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 07/18] intel_iommu: fix trace for inv desc ha


From: Jason Wang
Subject: Re: [Qemu-devel] [PATCH v6 07/18] intel_iommu: fix trace for inv desc handling
Date: Tue, 7 Feb 2017 13:38:30 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0



On 2017年02月03日 16:22, Peter Xu wrote:
VT-d codes are still using static DEBUG_INTEL_IOMMU macro. That's not
good, and we should end the day when we need to recompile the code
before getting useful debugging information for vt-d. Time to switch to
the trace system.

Looks like we end up with using debug macros and tracepoints at the same time (even with patch 8), this will cause even more troubles.


This is the first patch to do it.

Generally, the rule of mine is:

- for the old GENERAL typed message, I use trace_vtd_err*() in general.

- for the non-GENERAL typed messages, convert into specified trace_*().

- for useless DPRINTFs, I removed them.

Signed-off-by: Peter Xu<address@hidden>
---

The title is a little bit confusing, this in fact convert from debug macros to tracepoints.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]