Re: [PATCH 2/3] mm, compaction: export tracepoints zone names to userspace

2015-08-31 Thread Steven Rostedt
On Thu, 27 Aug 2015 17:24:03 +0200 Vlastimil Babka wrote: > Some compaction tracepoints use zone->name to print which zone is being > compacted. This works for in-kernel printing, but not userspace trace printing > of raw captured trace such as via trace-cmd report. > > This patch uses zone_idx(

Re: [PATCH 2/3] mm, compaction: export tracepoints zone names to userspace

2015-08-31 Thread Steven Rostedt
On Mon, 31 Aug 2015 17:02:38 +0200 Vlastimil Babka wrote: > >> +#define ZONE_TYPE \ > >> + IFDEF_ZONE_DMA( EM (ZONE_DMA,"DMA"))\ > >> + IFDEF_ZONE_DMA32( EM (ZONE_DMA32, "DMA32")) \ > >> + EM (ZONE

Re: [PATCH 2/3] mm, compaction: export tracepoints zone names to userspace

2015-08-31 Thread Vlastimil Babka
On 08/31/2015 04:58 PM, Steven Rostedt wrote: On Thu, 27 Aug 2015 17:24:03 +0200 Vlastimil Babka wrote: Some compaction tracepoints use zone->name to print which zone is being compacted. This works for in-kernel printing, but not userspace trace printing of raw captured trace such as via trace

Re: [PATCH 2/3] mm, compaction: export tracepoints zone names to userspace

2015-08-31 Thread Steven Rostedt
On Thu, 27 Aug 2015 17:24:03 +0200 Vlastimil Babka wrote: > Some compaction tracepoints use zone->name to print which zone is being > compacted. This works for in-kernel printing, but not userspace trace printing > of raw captured trace such as via trace-cmd report. > > This patch uses zone_idx(