Re: [Devel] [PATCH rh7 v3] mm/page_alloc: add latency to the page_alloc tracepoint

2018-12-17 Thread Kirill Gorkunov
On Mon, Dec 17, 2018 at 01:31:45PM +0300, Andrey Ryabinin wrote: > Add 'lat' field to the mm_page_alloc tracepoint. It shows allocation > latency in microseconds (0.01 second). > > Signed-off-by: Andrey Ryabinin Reviewed-by: Cyrill Gorcunov ___ Dev

[Devel] [PATCH rh7 v3] mm/page_alloc: add latency to the page_alloc tracepoint

2018-12-17 Thread Andrey Ryabinin
Add 'lat' field to the mm_page_alloc tracepoint. It shows allocation latency in microseconds (0.01 second). Signed-off-by: Andrey Ryabinin --- Changes since v2: - Use the 'unsigned int' type - the same as the result of jiffies_to_usec, instead of u64 include/trace/events/kmem.h | 1