Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-unstable
xen
xen.trc-TRACE_trc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.trc-TRACE_trc.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 15 Jun 2023 07:44:37 +0000 Subject: trc TRACE_trc Signed-off-by: Olaf Hering <olaf@aepfle.de> --- xen/include/xen/trace.h | 1 + 1 file changed, 1 insertion(+) --- a/xen/include/xen/trace.h +++ b/xen/include/xen/trace.h @@ -65,24 +65,25 @@ static inline int trace_will_trace_event(uint32_t event) { return 0; } static inline void trace_var(uint32_t event, bool cycles, unsigned int extra, const void *extra_data) {} static inline void __trace_var(uint32_t event, bool cycles, unsigned int extra, const void *extra_data) {} static inline void __trace_hypercall(uint32_t event, unsigned long op, const xen_ulong_t *args) {} #endif /* CONFIG_TRACEBUFFER */ +#define TRACE_trc(_e) do{if(unlikely(tb_init_done))__trace_var(_e, true, sizeof(trc), &trc);}while(0) /* Convenience macros for calling the trace function. */ #define TRACE_0D(_e) \ do { \ trace_var(_e, 1, 0, NULL); \ } while ( 0 ) /* Common helper for TRACE_{1..6}D() below. */ #define TRACE_varD(_e, ...) \ do { \ if ( unlikely(tb_init_done) ) \ { \ uint32_t _d[] = { __VA_ARGS__ }; \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor