On 05.07.2020 20:58, Michał Leszczyński wrote: > ----- 5 lip 2020 o 20:55, Michał Leszczyński michal.leszczyn...@cert.pl > napisał(a): >> --- /dev/null >> +++ b/tools/proctrace/proctrace.c >> +#include <stdlib.h> >> +#include <stdio.h> >> +#include <sys/mman.h> >> +#include <signal.h> >> + >> +#include <xenctrl.h> >> +#include <xen/xen.h> >> +#include <xenforeignmemory.h> >> + >> +#define BUF_SIZE (16384 * XC_PAGE_SIZE) > > I would like to discuss here, how we should retrieve the trace buffer size > in runtime? Should there be a hypercall for it, or some extension to > acquire_resource logic?
Personally I'd prefer the latter, but the question is whether one can be made in a backwards compatible way. Jan