lkml.org 
[lkml]   [2012]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [rfc 0/2] Introducing VmFlags field into smaps output
From
Date
On Wed, 2012-10-24 at 01:59 +0400, Cyrill Gorcunov wrote:
> [ilog2(VM_WRITE)] = { {'w', 'r'} },

since we're being awfully positive about crazy late night ideas, how
about something like:

#define MNEM(_VM, _mn) [ilog2(_VM)] = {(const char [2]){_mn}}

MNEM(VM_WRITE, "wr"),




\
 
 \ /
  Last update: 2012-10-24 01:01    [W:0.071 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site