#undef TRACE_SYSTEM #define TRACE_SYSTEM cma #if !defined(_TRACE_CMA_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_CMA_H #include #include TRACE_EVENT(cma_alloc, TP_PROTO(unsigned long pfn, const struct page *page, unsigned int count, unsigned int align), TP_ARGS(pfn, page, count, align), TP_STRUCT__entry( __field(unsigned long, pfn) __field(const struct page *, page) __field(unsigned int, count) __field(unsigned int, align) ), TP_fast_assign( __entry->pfn = pfn; __entry->page = page; __entry->count = count; __entry->align = align; ), TP_printk("pfn=%lx page=%p count=%u align=%u", __entry->pfn, __entry->page, __entry->count, __entry->align) ); TRACE_EVENT(cma_release, TP_PROTO(unsigned long pfn, const struct page *page, unsigned int count), TP_ARGS(pfn, page, count), TP_STRUCT__entry( __field(unsigned long, pfn) __field(const struct page *, page) __field(unsigned int, count) ), TP_fast_assign( __entry->pfn = pfn; __entry->page = page; __entry->count = count; ), TP_printk("pfn=%lx page=%p count=%u", __entry->pfn, __entry->page, __entry->count) ); #endif /* _TRACE_CMA_H */ /* This part must be outside protection */ #include ate-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/storage/option_ms.h')
ef='/cgit.cgi/linux/net-next.git/tree/include/trace/events/kmem.h?id=1a0bee6c1e788218fd1d141db320db970aace7f0'>include/trace/events/kmem.h
parent63c190429020a9701b42887ac22c28f287f1762f (diff)
sh_eth: rename EESIPR bits
Since the commit b0ca2a21f769 ("sh_eth: Add support of SH7763 to sh_eth") the *enum* declaring the EESIPR bits (interrupt mask) went out of sync with the *enum* declaring the EESR bits (interrupt status) WRT bit naming and formatting. I'd like to restore the consistency by using EESIPR as the bit name prefix, renaming the *enum* to EESIPR_BIT, and (finally) renaming the bits according to the available Renesas SH77{34|63} manuals; additionally, reconstruct couple names using the EESR bit declaration above... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace/events/kmem.h')