Re: [PATCH v2] perf probe: Support signedness casting

2016-08-06 Thread Masami Hiramatsu
On Fri, 5 Aug 2016 20:53:21 +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

Re: [PATCH v2] perf probe: Support signedness casting

2016-08-06 Thread Masami Hiramatsu
On Fri, 5 Aug 2016 20:53:21 +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

[PATCH v2] perf probe: Support signedness casting

2016-08-05 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 (i.e. sector_t or size_t). In

[PATCH v2] perf probe: Support signedness casting

2016-08-05 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 (i.e. sector_t or size_t). In