Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #define TRACE_SYSTEM hyperv
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #if !defined(_HV_TRACE_BALLOON_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define _HV_TRACE_BALLOON_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) TRACE_EVENT(balloon_status,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	    TP_PROTO(u64 available, u64 committed,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 		     unsigned long vm_memory_committed,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 		     unsigned long pages_ballooned,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 		     unsigned long pages_added,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		     unsigned long pages_onlined),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	    TP_ARGS(available, committed, vm_memory_committed,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		    pages_ballooned, pages_added, pages_onlined),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	    TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		    __field(u64, available)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		    __field(u64, committed)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		    __field(unsigned long, vm_memory_committed)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		    __field(unsigned long, pages_ballooned)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		    __field(unsigned long, pages_added)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		    __field(unsigned long, pages_onlined)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		    ),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	    TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		    __entry->available = available;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		    __entry->committed = committed;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		    __entry->vm_memory_committed = vm_memory_committed;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		    __entry->pages_ballooned = pages_ballooned;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		    __entry->pages_added = pages_added;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		    __entry->pages_onlined = pages_onlined;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		    ),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	    TP_printk("available %lld, committed %lld; vm_memory_committed %ld;"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		      " pages_ballooned %ld, pages_added %ld, pages_onlined %ld",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		      __entry->available, __entry->committed,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		      __entry->vm_memory_committed, __entry->pages_ballooned,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		      __entry->pages_added, __entry->pages_onlined
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		    )
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #undef TRACE_INCLUDE_PATH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #define TRACE_INCLUDE_PATH .
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #undef TRACE_INCLUDE_FILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) #define TRACE_INCLUDE_FILE hv_trace_balloon
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) #endif /* _HV_TRACE_BALLOON_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #include <trace/define_trace.h>