mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
tools: acrntrace: output trace data as raw data
Benefits of outputing trace data as raw data:
- Smaller trace data size
- More convenient to add new trace entry. There is no need to change acrntrace
when we add new trace entry to HV. All we need do is to update the analysis
scripts to deal with this situation.
Trace data size(with 1 UOS):
~57M -- with patch
~137M -- without patch
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
@@ -66,5 +66,6 @@ static inline void sbuf_add_flags(shared_buf_t *sbuf, uint64_t flags)
|
||||
}
|
||||
|
||||
int sbuf_get(shared_buf_t *sbuf, uint8_t *data);
|
||||
int sbuf_write(int fd, shared_buf_t *sbuf);
|
||||
int sbuf_clear_buffered(shared_buf_t *sbuf);
|
||||
#endif /* SHARED_BUF_H */
|
||||
|
||||
Reference in New Issue
Block a user