Displaying 2 results from an estimated 2 matches for "append_to_buffer".
2017 Oct 26
1
[PATCH for-next 7/9] coverage: introduce support for llvm profiling
..._counters - start_counters) / sizeof(uint64_t),
+ .names_size = end_names - start_names,
+ .counters_delta = (uintptr_t)start_counters,
+ .names_delta = (uintptr_t)start_names,
+ .value_kind_last = LLVM_PROFILE_NUM_KINDS - 1,
+ };
+ unsigned int off = 0;
+
+#define APPEND_TO_BUFFER(src, size) \
+({ \
+ if ( off + size > *buf_size ) \
+ return -ENOMEM; \
+ copy_to_guest_offset(buffer, off, src, size); \
+ off += size;...
2017 Oct 26
2
[PATCH for-next 0/9] LLVM coverage support for Xen
Hello,
The following patch series enables LLVM coverage support for the Xen
hypervisor. This first patches are a re-organization of the gcov
support, in order to make the support generic for all coverage
technologies. This is mostly a name change from gcov -> cov in several
places and files, together with the addition of a Kconfig option in
order to enable LLVM coverage.
Patch 7 introduces