[PATCH 0/2] Documentation/RCU: Update documents

2019-01-01 Thread Junchang Wang
Hi list, This patch set updates a few outdated links/sections in the documents of RCU. Please take a look. -- Junchang Wang (2): whatisRCU.txt: correct outdated links torture.txt: update the list of supported torture types Documentation/RCU/torture.txt | 15 +++ Documentation/

[PATCH 1/2] whatisRCU.txt: fix outdated links

2019-01-01 Thread Junchang Wang
Fix outdated links in whatisRCU.txt. Signed-off-by: Junchang Wang --- Documentation/RCU/whatisRCU.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt index 4a68543..1ace208 100644 --- a/Documentation/RCU/wh

[PATCH 2/2] torture.txt: update the list of supported torture types

2019-01-01 Thread Junchang Wang
Torture types "rcu_bh" and "sched" were removed in commit "c770c82a23". The name of torture type "rcu_busted" was changed to "busted" in commit "b3c983142d". Two other types, "srcud" and "busted_srcud" were added in commits "ca1d51ed98" and "2397d072f7", respectively. This patch updates torture.txt

[PATCH 0/5] Improve the latency tracers

2019-01-01 Thread Changbin Du
Happy new year! This series make some improments for the kernel latency tracers, especilly for the wakeup tracers. The latency tracers will show us more useful information. With this series, the wakeup tracers look like this when display-graph is enabled: # tracer: wakeup # # wakeup latency trace

[PATCH 1/5] function_graph: Support displaying relative timestamp

2019-01-01 Thread Changbin Du
When function_graph is used for latency tracers, relative timestamp is more straightforward than absolute timestamp as function trace does. This change adds relative timestamp support to function_graph and applies to latency tracers (wakeup and irqsoff). Signed-off-by: Changbin Du --- kernel/tra

[PATCH 2/5] sched/tracing: Show more info for funcgraph wakeup tracers

2019-01-01 Thread Changbin Du
Add these info fields to funcgraph wakeup tracers: o Show CPU info since the waker could be on a different CPU. o Show function duration and overhead. o Show IRQ markers. Signed-off-by: Changbin Du --- kernel/trace/trace_sched_wakeup.c | 5 - 1 file changed, 4 insertions(+), 1 deletion

[PATCH 5/5] trace/doc: Add latency tracer funcgraph example

2019-01-01 Thread Changbin Du
This add an example about how to use funcgraph with latency tracers. Signed-off-by: Changbin Du --- Documentation/trace/ftrace.rst | 51 ++ 1 file changed, 51 insertions(+) diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst index 0131df7

[PATCH 3/5] sched/tracing: Put a margin between flags and duration for wakeup tracers

2019-01-01 Thread Changbin Du
Don't mix context flags with function duration info. Now the output looks like this: \# tracer: wakeup \# \# wakeup latency trace v1.1.5 on 4.20.0+ \# \# latency: 593 us, #674/674, CPU#0 | (M:desktop VP:0, KP:0, SP:0 HP:0 #P:4) \

[PATCH 4/5] sched/tracing: Show stacktrace for wakeup tracers

2019-01-01 Thread Changbin Du
This align the behavior of wakeup tracers with irqsoff latency tracer that we record stacktrace at the beginning and end of waking up. The stacktrace shows us what is happening in the kernel. Signed-off-by: Changbin Du --- kernel/trace/trace_sched_wakeup.c | 4 1 file changed, 4 insertions(

Re: [PATCH 1/2] whatisRCU.txt: fix outdated links

2019-01-01 Thread Paul E. McKenney
On Tue, Jan 01, 2019 at 10:03:19PM +0800, Junchang Wang wrote: > Fix outdated links in whatisRCU.txt. > > Signed-off-by: Junchang Wang Queued and pushed, thank you! Thanx, Paul > --- > Documentation/RCU/whatisRCU.txt | 4 ++-- > 1 file c

Re: [PATCH 2/2] torture.txt: update the list of supported torture types

2019-01-01 Thread Paul E. McKenney
On Tue, Jan 01, 2019 at 10:03:20PM +0800, Junchang Wang wrote: > Torture types "rcu_bh" and "sched" were removed in commit "c770c82a23". > The name of torture type "rcu_busted" was changed to "busted" in commit > "b3c983142d". Two other types, "srcud" and "busted_srcud" were added in > commits "ca1

[PATCH] Docs/kernel-api.rst: Remove removed blk-tag.c reference

2019-01-01 Thread Marcos Paulo de Souza
After 7ca01926463a, legacy rq tagging was removed, so block/blk-tag.c does not exists anymore. When generating pdfdocs, sphinx complains about this missing file: Error: Cannot open file ./block/blk-tag.c Error: Cannot open file ./block/blk-tag.c Error: Cannot open file ./block/blk-tag.c Error: Can

Re: [PATCH] Docs/kernel-api.rst: Remove removed blk-tag.c reference

2019-01-01 Thread Marcos Paulo de Souza
Patch sent by mistake. The commit message should be: "Docs/kernel-api.rst: Remove blk-tag.c reference" Thanks, On Tue, Jan 01, 2019 at 10:40:14PM -0200, Marcos Paulo de Souza wrote: > After 7ca01926463a, legacy rq tagging was removed, so block/blk-tag.c > does not exists anymore. When generating

Re: [PATCH 2/2] torture.txt: update the list of supported torture types

2019-01-01 Thread Junchang Wang
On Wed, Jan 2, 2019 at 1:54 AM Paul E. McKenney wrote: > > On Tue, Jan 01, 2019 at 10:03:20PM +0800, Junchang Wang wrote: > > Torture types "rcu_bh" and "sched" were removed in commit "c770c82a23". > > The name of torture type "rcu_busted" was changed to "busted" in commit > > "b3c983142d". Two ot