Re: [PATCH 0/2] Add decoder for GFP masks to tools.

2013-01-10 Thread Cody P Schafer
(Sorry Mel, you're getting this twice because I forgot CC's last time) On 01/10/2013 03:36 AM, Mel Gorman wrote: Any particular reason you did not use scripts/gfp-translate? Because I didn't look hard enough & didn't see it :( Script is dumb as rocks, requires access to the source code and do

Re: [PATCH 0/2] Add decoder for GFP masks to tools.

2013-01-10 Thread Mel Gorman
On Tue, Jan 08, 2013 at 03:24:13PM -0800, Cody P Schafer wrote: > I needed to decode some gfp_masks to debug an oom-killer invocation, and wrote > this tool to avoid doing the decoding manually. > > Bad things about this: slightly hacky use of code intended for use with > ftrace, > splitting linu