ile
provides a mean to pre-allocate (or free) the max_tr buffer.
# echo 1 > snapshot_allocate
[...]
# echo 1 > snapshot
Signed-off-by: Hiraku Toyooka
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Li Zefan
Cc: linux-kernel@vger.k
print_max and use_max_tr in struct tracer are "int" variables and
used like flags. This is wasteful, so change the type to "bool".
Signed-off-by: Hiraku Toyooka
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: linux-kernel@vger.kernel.org
---
Hi, Steven,
Thank you for your review.
I changed the function name "resize_buffer_even" to
"resize_buffer_duplicate_size".
(v1: https://lkml.org/lkml/2012/10/2/67)
---
Hiraku Toyooka (4):
tracing: add description of snapshot to Documentation/trace/ftrace.txt
h, but I just hate the name "resize_buffer_even".
> What about "resize_buffer_duplicate_size"?
>
O.K.
I'll send modified version of this patch later.
Regards,
Hiraku Toyooka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
resize_buffer_even.
What about resize_buffer_duplicate_size?
O.K.
I'll send modified version of this patch later.
Regards,
Hiraku Toyooka
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
Hi, Steven,
Thank you for your review.
I changed the function name resize_buffer_even to
resize_buffer_duplicate_size.
(v1: https://lkml.org/lkml/2012/10/2/67)
---
Hiraku Toyooka (4):
tracing: add description of snapshot to Documentation/trace/ftrace.txt
tracing: make a snapshot
print_max and use_max_tr in struct tracer are int variables and
used like flags. This is wasteful, so change the type to bool.
Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
to pre-allocate (or free) the max_tr buffer.
# echo 1 snapshot_allocate
[...]
# echo 1 snapshot
Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@redhat.com
Cc: Jiri Olsa jo
This patch adds snapshot description in ftrace documentation.
This description includes what the snapshot is and how to use it.
Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@redhat.com
Cc: linux-kernel@vger.kernel.org
---
kernel/trace/trace.c | 58 +++---
1 files changed, 31
print_max and use_max_tr in struct tracer are "int" variables and
used like flags. This is wasteful, so change the type to "bool".
Signed-off-by: Hiraku Toyooka
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: linux-kernel@vger.kernel.org
---
This patch adds snapshot description in ftrace documentation.
This description includes what the snapshot is and how to use it.
Signed-off-by: Hiraku Toyooka
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Rob Landley
Cc: linux-...@vger.kernel.org
Cc: linux-kernel
ile
provides a mean to pre-allocate (or free) the max_tr buffer.
# echo 1 > snapshot_allocate
[...]
# echo 1 > snapshot
Signed-off-by: Hiraku Toyooka
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Li Zefan
Cc: linux-kernel@vger.k
to the global_trace's size)
__tracing_resize_ring_buffer() can be used for (1), and had
implemented (2) inside it for resetting the global_trace to the
original size.
(2) was also implemented in other place. So this patch assembles
them in a new function - resize_buffer_even().
Signed-off-by: Hiraku
=R ==>
next_comm=snapshot-test-2 next_pid=2243 next_prio=120
snapshot-test-2-2229 [002] d... 2440.707438: sched_switch:
prev_comm=snapshot-test-2 prev_pid=2229 prev_prio=120 prev_state=S ==>
next_comm=swapper/2 next_pid=0 next_prio=120
[...]
---
Hiraku Toyooka (4):
tracing: ad
: sched_switch:
prev_comm=snapshot-test-2 prev_pid=2229 prev_prio=120 prev_state=S ==
next_comm=swapper/2 next_pid=0 next_prio=120
[...]
---
Hiraku Toyooka (4):
tracing: add description of snapshot to Documentation/trace/ftrace.txt
tracing: make a snapshot feature available from
to the global_trace's size)
__tracing_resize_ring_buffer() can be used for (1), and had
implemented (2) inside it for resetting the global_trace to the
original size.
(2) was also implemented in other place. So this patch assembles
them in a new function - resize_buffer_even().
Signed-off-by: Hiraku
to pre-allocate (or free) the max_tr buffer.
# echo 1 snapshot_allocate
[...]
# echo 1 snapshot
Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@redhat.com
Cc: Jiri Olsa jo
This patch adds snapshot description in ftrace documentation.
This description includes what the snapshot is and how to use it.
Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
print_max and use_max_tr in struct tracer are int variables and
used like flags. This is wasteful, so change the type to bool.
Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
.use_max_tr = 1,
+ .always_use_max_tr = 1,
Remove all these. Have the 'allocated_snapshot' get set when the tracer
is added, not here.
OK, I'll remove them.
But on the whole, I like the idea of a snapshot (and this has actually
been on my todo list for some time,
.
But on the whole, I like the idea of a snapshot (and this has actually
been on my todo list for some time, thanks for doing it for me ;-)
Thank you for your review!
Best regards,
Hiraku Toyooka
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
Hello, Rob,
Thank you very much for your advice.
(2012/07/05 10:01), Rob Landley wrote:
On 07/04/2012 05:47 AM, Hiraku Toyooka wrote:
Hello, Steven,
I've sent below RFC patch, but still have no responses. This patch can
be applied to current tip tree.
If you have time, could you give any
Hello, Rob,
Thank you very much for your advice.
(2012/07/05 10:01), Rob Landley wrote:
On 07/04/2012 05:47 AM, Hiraku Toyooka wrote:
Hello, Steven,
I've sent below RFC patch, but still have no responses. This patch can
be applied to current tip tree.
If you have time, could you give any
101 - 124 of 124 matches
Mail list logo