Re: [PATCH 1/3] mm, compaction: export tracepoints status strings to userspace

2015-08-31 Thread Vlastimil Babka
On 08/31/2015 04:55 PM, Steven Rostedt wrote: On Thu, 27 Aug 2015 17:24:02 +0200 Vlastimil Babka wrote: Some compaction tracepoints convert the integer return values to strings using the compaction_status_string array. This works for in-kernel printing, but not userspace trace printing of raw

Re: [PATCH 1/3] mm, compaction: export tracepoints status strings to userspace

2015-08-31 Thread Steven Rostedt
On Thu, 27 Aug 2015 17:24:02 +0200 Vlastimil Babka wrote: > Some compaction tracepoints convert the integer return values to strings using > the compaction_status_string array. This works for in-kernel printing, but not > userspace trace printing of raw captured trace such as via trace-cmd report

[PATCH 1/3] mm, compaction: export tracepoints status strings to userspace

2015-08-27 Thread Vlastimil Babka
Some compaction tracepoints convert the integer return values to strings using the compaction_status_string array. This works for in-kernel printing, but not userspace trace printing of raw captured trace such as via trace-cmd report. This patch converts the private array to appropriate tracepoint