> From: Andrew Cooper [mailto:[email protected]] > Sent: Monday, February 5, 2018 7:17 PM > > The use of __LINE__ in a printk() is problematic for livepatching, as it > causes unnecessary binary differences. > > Furthermore, diagnostic information around calls is inconsistent and > occasionally unhelpful. (e.g. diagnosing logs from the field which might be > release builds, or likely without exact source code). > > Take the opportunity to improve things. Shorten the name to > domain_crash_sync() and require the user to pass a print message in. > > Internally, the calling function is identified, and the message is emitted as > a non-debug guest error. > > Signed-off-by: Andrew Cooper <[email protected]>
Reviewed-by: Kevin Tian <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
