[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] xen/trace: Adjust types in function declarations
commit f9f4217a4760743e8fea9439ff0a06a2f2d1e877 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Thu Jul 18 14:41:48 2019 +0100 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Fri Jul 19 10:53:14 2019 +0100 xen/trace: Adjust types in function declarations Use uint32_t consistently for 'event', bool consistently for 'cycles', and unsigned int consistently for 'extra'. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx> --- xen/include/xen/trace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/include/xen/trace.h b/xen/include/xen/trace.h index e6a4ef93cc..bd5168f568 100644 --- a/xen/include/xen/trace.h +++ b/xen/include/xen/trace.h @@ -41,9 +41,9 @@ int tb_control(struct xen_sysctl_tbuf_op *tbc); int trace_will_trace_event(u32 event); -void __trace_var(u32 event, bool_t cycles, unsigned int extra, const void *); +void __trace_var(uint32_t event, bool cycles, unsigned int extra, const void *); -static inline void trace_var(u32 event, int cycles, int extra, +static inline void trace_var(uint32_t event, bool cycles, unsigned int extra, const void *extra_data) { if ( unlikely(tb_init_done) ) @@ -68,7 +68,7 @@ static inline int trace_will_trace_event(uint32_t event) return 0; } -static inline void trace_var(uint32_t event, int cycles, int extra, +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) {} -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |