To calculate the number of blocks from the number of clusters,
use the i_blkbits of struct inode instead of 9.
Signed-off-by: Hyeoncheol Lee
---
fs/fat/misc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fat/misc.c b/fs/fat/misc.c
index 6d93360..ccdf663 100644
--- a
Before casting a type of a variable to string,
convert_variable_type() confirms that the type is a pointer or
an array. then if it is a pointer to char, it is casted to string.
but in case of an array of char, it isn't
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: H.C. Lee
---
tool
Union members can be accessed with '.' or '->' like data structure
member access
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyunchul Lee
---
tools/perf/util/probe-finder.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/tools/perf/
for register, retval, and memory dereference.
Common functions are defined in trace_probe.c.
Signed-off-by: Hyeoncheol Lee
---
v2 - separate fetch type functions for uprobes and kprobes tracer
kernel/trace/trace_kprobe.c | 147 +-
kernel/trace/trace_probe.c | 292
for register, retval, and memory dereference.
Common functions are defined in trace_probe.c.
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyeoncheol Lee
---
v2 - separate fetch type functions for uprobes and kprobes tracer
kernel/trace/trace_kprobe.c | 147
Hi,
2012/9/26 Masami Hiramatsu :
> (2012/09/26 11:52), Hyeoncheol Lee wrote:
>> Hi,
>>
>> uprobe_event only supports %REG arguments. I think that memory fetch,
>> return value fetch, memory dereference functions in
>> kernel/trace/trace_probe.c are good f
2012/9/26 Srikar Dronamraju :
>>
>> Perhaps, it is not so small things, but at least, we can try.
>> In the userspace, memories(pages) can be paged out on swap or
>> files. In that case, memory dereference function needs to track
>> down the data on the disk and it causes I/O. This means we will
>>
The function allocated wrong size buffers for names
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyeoncheol Lee
---
tools/perf/util/probe-event.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util
2012/10/16 Masami Hiramatsu :
> (2012/10/16 18:02), Hyeoncheol Lee wrote:
>> Event arguments except @SYM are supported. They are @ADDR,
>> $stack, $stackN, $retval, and offs(arguments).
>>
>> Cc: Masami Hiramatsu
>> Cc: Srikar Dronamraju
The function allocated wrong size buffers for names
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyeoncheol Lee
---
v2: - Added a comment for MAX_ADDRNAME_LEN
tools/perf/util/probe-event.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a
r own fetch type information
tables and fetch type functions. But they share printing type functions
and some fetch type functions for register, dereference, and bitfield.
The common functions are defined in trace_probe.c.
Signed-off-by: Hyeoncheol Lee
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
-
Before casting a type of a variable to string,
convert_variable_type() confirms that the type is a pointer or
an array. if it is a pointer to char, it is casted to string.
but in case of an array of char, it isn't
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyeoncheo
convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS
bytes for a function name
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyeoncheol Lee
---
tools/perf/util/probe-event.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util
Hi,
2012/10/16 Masami Hiramatsu :
> (2012/10/16 10:37), Hyeoncheol Lee wrote:
>> convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS
>> bytes for a function name
>
> Yeah, that one was from my laziness...
>
>>
>> Cc: Masami Hiramatsu
>&g
Hi,
2012/10/16 Srikar Dronamraju :
> * Masami Hiramatsu [2012-10-16 13:19:57]:
>
>> (2012/10/16 10:37), Hyeoncheol Lee wrote:
>> > convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS
>> > bytes for a function name
>>
>> Yeah, that one was
Event arguments except @SYM are supported. They are @ADDR,
$stack, $stackN, $retval, and offs(arguments).
Cc: Masami Hiramatsu
Cc: Srikar Dronamraju
Signed-off-by: Hyeoncheol Lee
---
kernel/trace/trace_kprobe.c |6 +-
kernel/trace/trace_probe.c | 162
When showing accessible variables, an enum type variable was
printed in "variable-name" format. Change this format into
"enum variable-name".
Cc: Masami Hiramatsu
Signed-off-by: Hyeoncheol Lee
---
tools/perf/util/dwarf-aux.c |2 ++
1 file changed, 2 insertions(+)
dif
Patches look good to me.
Signed-off-by: Hyeoncheol Lee
-Original Message-
From: Steven Rostedt [mailto:rost...@goodmis.org]
Sent: Friday, January 03, 2014 6:02 AM
To: Steven Rostedt
Cc: Namhyung Kim; Oleg Nesterov; Masami Hiramatsu; Srikar Dronamraju;
Hyeoncheol Lee; zhangwei(Jovi
Please, ignore this patch. I made a mistake.
while headers are read, ubi_io_is_bad is called only when chk_io is true.
2017-09-26 13:54 GMT+09:00 Hyunchul Lee :
> From: Hyunchul Lee
>
> When erase count and volume identifier headers are read,
> ubi_io_is_bad is called. So instead of calling ubi_i
Commit-ID: 7ce28b5b5b320e26ac6a0e352d5005bce3530e05
Gitweb: http://git.kernel.org/tip/7ce28b5b5b320e26ac6a0e352d5005bce3530e05
Author: Hyeoncheol Lee
AuthorDate: Tue, 11 Sep 2012 16:57:28 +0900
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 24 Jan 2013 16:40:20 -0300
perf probe
Commit-ID: 7b0295b3db20a89b3296673871858b9ab6b68404
Gitweb: http://git.kernel.org/tip/7b0295b3db20a89b3296673871858b9ab6b68404
Author: Hyeoncheol Lee
AuthorDate: Wed, 12 Sep 2012 16:57:45 +0900
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 14 Sep 2012 15:48:08 -0300
perf probe
21 matches
Mail list logo