mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
If module acrn_trace is configured as "m" and we don't insert it before launching acrntrace tool, acrntrace will run normally instead of throw out an error in current implementation. And no trace files are generated. It will cause confusing here. So, this patch throw out an error massage to user about the absence of acrn trace devices. BTW, this patch replaces cpuid/num related concept to devid/cnt which is more suitable for /dev/acrn_trace_xxx. Tracked-On: #1975 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Yan, Like <like.yan@intel.com>
1.9 KiB
1.9 KiB