lkml.org 
[lkml]   [2013]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2 1/4] perf: Add hardware breakpoint address mask
On 04/25/2013 10:06 AM, Oleg Nesterov wrote:
>>
>> The downside is that in userland perf tool we need differing documentation
>> on what the mask syntax means for each architecture.
>
> Personally I think this is acceptable.
>
> But I am new to this code, so...
>

That would seem really, really awkward. Yes, perf has a bunch of
low-level stuff, but it would seem highly undesirable to force the user
to deal with something like that.

It would be good to have a user-friendly syntax that covers most of what
users may want to do and perhaps a longer form that can express
everything including ARM's byte selects; if the system can't honor the
request it should return an error.

-hpa




\
 
 \ /
  Last update: 2013-04-25 19:41    [W:0.064 / U:21.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site