On Wed, Jan 24, 2018 at 10:01:21AM +0000, Roger Pau Monne wrote: > It will contain the generic implementation of sysctl_cov_op, which > will be shared between all the coverage implementations. > > Signed-off-by: Roger Pau Monné <roger....@citrix.com> > Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > --- > Cc: Andrew Cooper <andrew.coop...@citrix.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > Cc: Stefano Stabellini <sstabell...@kernel.org> > Cc: Tim Deegan <t...@xen.org> > Cc: Wei Liu <wei.l...@citrix.com> > --- > Changes since v1: > - Use private coverage.h header. > - Sort alphabetically the obj-y list. > --- > xen/common/coverage/Makefile | 2 +- > xen/common/coverage/coverage.c | 73 > ++++++++++++++++++++++++++++++++++++++++++ > xen/common/coverage/coverage.h | 1 + > xen/common/coverage/gcov.c | 39 +--------------------- > 4 files changed, 76 insertions(+), 39 deletions(-) > create mode 100644 xen/common/coverage/coverage.c > > diff --git a/xen/common/coverage/Makefile b/xen/common/coverage/Makefile > index a7a48494ca..5387bc6429 100644 > --- a/xen/common/coverage/Makefile > +++ b/xen/common/coverage/Makefile > @@ -1,4 +1,4 @@ > -obj-y += gcov_base.o gcov.o > +obj-y += coverage.o gcov_base.o gcov.o > obj-y += $(call cc-ifversion,lt,0x040700, \ > gcc_3_4.o, $(call cc-ifversion,lt,0x040900, \ > gcc_4_7.o, $(call cc-ifversion,lt,0x050000, \ > diff --git a/xen/common/coverage/coverage.c b/xen/common/coverage/coverage.c > new file mode 100644 > index 0000000000..bd90f28663 > --- /dev/null > +++ b/xen/common/coverage/coverage.c > @@ -0,0 +1,73 @@ > +/* > + * Generic functionality for coverage analysis. > + * > + * Copyright (C) 2017 Citrix Systems R&D
2018 now I believe. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel