Re: [PATCH] perf probe: support signedness casting

2016-08-05 Thread Naohiro Aota
2016-08-05 (金) の 18:10 +0900 に Masami Hiramatsu さんは書きました: > On Fri, 5 Aug 2016 14:33:53 +0900 > Naohiro Aota wrote: > > > > > Perf-probe detects a variable's type and use the detected type to > > add new > > probe. Then, kprobes prints its variable in hexadecimal format if > > the > > variable i

Re: [PATCH] perf probe: support signedness casting

2016-08-05 Thread Masami Hiramatsu
On Fri, 5 Aug 2016 14:33:53 +0900 Naohiro Aota wrote: > Perf-probe detects a variable's type and use the detected type to add new > probe. Then, kprobes prints its variable in hexadecimal format if the > variable is unsigned and prints in decimal if it is signed. > > We sometimes want to see uns

[PATCH] perf probe: support signedness casting

2016-08-04 Thread Naohiro Aota
Perf-probe detects a variable's type and use the detected type to add new probe. Then, kprobes prints its variable in hexadecimal format if the variable is unsigned and prints in decimal if it is signed. We sometimes want to see unsigned variable in decimal format (e.g. sector_t or size_t). In tha