summaryrefslogtreecommitdiff
path: root/xen/common/coverage/gcov.c
Commit message (Collapse)AuthorAgeFilesLines
* xen/misc: CFI hardeningAndrew Cooper2022-02-231-4/+4
| | | | | | | | | | Control Flow Integrity schemes use toolchain and optionally hardware support to help protect against call/jump/return oriented programming attacks. Use cf_check to annotate function pointer targets for the toolchain. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
* coverage: introduce generic fileRoger Pau Monné2018-01-251-38/+1
| | | | | | | | | 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.pau@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
* gcov: introduce hooks for the sysctlRoger Pau Monné2018-01-251-3/+10
| | | | | | | | So that other implementations of the sysctl can be added. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
* gcov: rename sysctl and functionsRoger Pau Monné2018-01-251-4/+4
| | | | | | | | | | Change gcov to cov (for internal interfaces) or coverage (for the public ones). Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
* gcov: rename folder and header to coverageRoger Pau Monne2017-12-151-0/+257
Preparatory change before adding llvm profiling support. No functional change. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>