[tip:perf/core] perf kvm: Support using -f to override perf.data.guest file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 8cc5ec1f754355ed788838390e86389c9ffb7590 Gitweb: http://git.kernel.org/tip/8cc5ec1f754355ed788838390e86389c9ffb7590 Author: Yunlong Song AuthorDate: Thu, 2 Apr 2015 21:47:13 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 2 Apr 2015 13:18:47 -0300 perf kvm

[tip:perf/core] perf kmem: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: d1eeb77c1811fd178442ccb8f58004a19ec40dd3 Gitweb: http://git.kernel.org/tip/d1eeb77c1811fd178442ccb8f58004a19ec40dd3 Author: Yunlong Song AuthorDate: Thu, 2 Apr 2015 21:47:12 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 2 Apr 2015 13:18:46 -0300 perf kmem

[tip:perf/core] perf inject: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: ccaa474c8a0983d26ecb3eac755672b546b997c3 Gitweb: http://git.kernel.org/tip/ccaa474c8a0983d26ecb3eac755672b546b997c3 Author: Yunlong Song AuthorDate: Thu, 2 Apr 2015 21:47:11 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 2 Apr 2015 13:18:45 -0300 perf inject

[tip:perf/core] perf evlist: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 9e3b6ec17374299516d83c2e36135b958a895aa3 Gitweb: http://git.kernel.org/tip/9e3b6ec17374299516d83c2e36135b958a895aa3 Author: Yunlong Song AuthorDate: Thu, 2 Apr 2015 21:47:10 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 2 Apr 2015 13:18:45 -0300 perf evlist

[PATCH 00/10] perf tools: Support using -f to override file ownership for perf commands

2015-04-02 Thread Yunlong Song
Hi, Enable perf commands to use perf file when it is not owned by current user or root. Yunlong Song (10): perf tools: Support using -f to override perf.data file ownership for evlist perf tools: Support using -f to override perf.data file ownership for inject perf tools

[PATCH 04/10] perf tools: Support using -f to override perf.data.guest file ownership for kvm

2015-04-02 Thread Yunlong Song
here. Signed-off-by: Yunlong Song --- tools/perf/builtin-kvm.c | 2 ++ tools/perf/util/kvm-stat.h | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 643722f..1f9338f 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin

[PATCH 10/10] perf tools: Support using -f to override perf.data file ownership for data convert

2015-04-02 Thread Yunlong Song
As shown above, the -f option really works now. Signed-off-by: Yunlong Song --- tools/perf/builtin-data.c | 4 +++- tools/perf/util/data-convert-bt.c | 3 ++- tools/perf/util/data-convert-bt.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/perf/builtin-data.c

[PATCH 06/10] perf tools: Support using -f to override perf.data file ownership for mem

2015-04-02 Thread Yunlong Song
, the -f option really works now. Signed-off-by: Yunlong Song --- tools/perf/builtin-mem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c index b4dcf0b..675216e 100644 --- a/tools/perf/builtin-mem.c +++ b/tools/perf/builtin-mem.c @@ -15,6

[PATCH 07/10] perf tools: Support using -f to override perf.data file ownership for script

2015-04-02 Thread Yunlong Song
Enable perf script to use perf.data when it is not owned by current user or root. Change the short option name of --fields to -F to avoid confusion with --force. Example: # perf record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song

[PATCH 03/10] perf tools: Support using -f to override perf.data file ownership for kmem

2015-04-02 Thread Yunlong Song
allocated: 615472 Total bytes wasted on internal fragmentation: 177873 Internal fragmentation: 28.900259% Cross CPU allocations: 6/1192 As shown above, the -f option really works now. Signed-off-by: Yunlong Song --- tools/perf/builtin-kmem.c | 9 + 1 file changed, 5 insertions(+), 4

[PATCH 08/10] perf tools: Support using -f to override perf.data file ownership for timechart

2015-04-02 Thread Yunlong Song
Enable perf timechart to use perf.data when it is not owned by current user or root. Example: # perf timechart record ls # chown Yunlong.Song:Yunlong.Song perf.data # ls -al perf.data -rw--- 1 Yunlong.Song Yunlong.Song 5471744 Apr 2 15:15 perf.data # id uid=0(root) gid=0(root)

[PATCH 02/10] perf tools: Support using -f to override perf.data file ownership for inject

2015-04-02 Thread Yunlong Song
-off-by: Yunlong Song --- tools/perf/builtin-inject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c index ea46df25..40a33d7 100644 --- a/tools/perf/builtin-inject.c +++ b/tools/perf/builtin-inject.c @@ -443,6 +443,7 @@ int cmd_inject

[PATCH 05/10] perf tools: Support using -f to override perf.data file ownership for lock

2015-04-02 Thread Yunlong Song
0 ... ... As shown above, the -f option really works now. Signed-off-by: Yunlong Song --- tools/perf/builtin-lock.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 7893a9b..d49c2ab 100644 --- a/tools/perf/builtin-lock.c +++ b

[PATCH 01/10] perf tools: Support using -f to override perf.data file ownership for evlist

2015-04-02 Thread Yunlong Song
really works now. Signed-off-by: Yunlong Song --- tools/perf/builtin-evlist.c | 2 ++ tools/perf/util/evsel.h | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/perf/builtin-evlist.c b/tools/perf/builtin-evlist.c index 0f93f85..695ec5a 100644 --- a/tools/perf/builtin-evlist.c +++ b

[PATCH 09/10] perf tools: Support using -f to override perf.data file ownership for trace

2015-04-02 Thread Yunlong Song
( 0.007 ms): ls/47325 open(filename: 0x7f312599e8ff, ... ... ... As shown above, the -f option really works now. Signed-off-by: Yunlong Song --- tools/perf/builtin-trace.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index

[tip:perf/core] perf inject: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: ccaa474c8a0983d26ecb3eac755672b546b997c3 Gitweb: http://git.kernel.org/tip/ccaa474c8a0983d26ecb3eac755672b546b997c3 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:11 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf evlist: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 9e3b6ec17374299516d83c2e36135b958a895aa3 Gitweb: http://git.kernel.org/tip/9e3b6ec17374299516d83c2e36135b958a895aa3 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:10 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf lock: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: c4ac732a0377d1544a8385393a9877b693ff0652 Gitweb: http://git.kernel.org/tip/c4ac732a0377d1544a8385393a9877b693ff0652 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:14 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf kmem: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: d1eeb77c1811fd178442ccb8f58004a19ec40dd3 Gitweb: http://git.kernel.org/tip/d1eeb77c1811fd178442ccb8f58004a19ec40dd3 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:12 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf kvm: Support using -f to override perf.data.guest file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 8cc5ec1f754355ed788838390e86389c9ffb7590 Gitweb: http://git.kernel.org/tip/8cc5ec1f754355ed788838390e86389c9ffb7590 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:13 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf mem: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 62a1a63a77451dee8fd318a5106ca108d6a8ebcb Gitweb: http://git.kernel.org/tip/62a1a63a77451dee8fd318a5106ca108d6a8ebcb Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:15 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf timechart: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 44f7e432e3dc8a13f5661e8b722f53645df083d1 Gitweb: http://git.kernel.org/tip/44f7e432e3dc8a13f5661e8b722f53645df083d1 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:17 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf trace: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: e366a6d8949f3cfab01906b42c591098d59f3f35 Gitweb: http://git.kernel.org/tip/e366a6d8949f3cfab01906b42c591098d59f3f35 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:18 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf data: Support using -f to override perf.data file ownership for 'convert'

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: bd05954bfa17f03a7bd4454178ba09786b35e383 Gitweb: http://git.kernel.org/tip/bd05954bfa17f03a7bd4454178ba09786b35e383 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:19 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[tip:perf/core] perf script: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: 06af0f2c919d7c8f05efebe0d96a6f22297aafd4 Gitweb: http://git.kernel.org/tip/06af0f2c919d7c8f05efebe0d96a6f22297aafd4 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:16 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

[PATCH 00/10] perf tools: Support using -f to override file ownership for perf commands

2015-04-02 Thread Yunlong Song
Hi, Enable perf commands to use perf file when it is not owned by current user or root. Yunlong Song (10): perf tools: Support using -f to override perf.data file ownership for evlist perf tools: Support using -f to override perf.data file ownership for inject perf tools

[PATCH 04/10] perf tools: Support using -f to override perf.data.guest file ownership for kvm

2015-04-02 Thread Yunlong Song
process, the result shows 0 sample here. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-kvm.c | 2 ++ tools/perf/util/kvm-stat.h | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 643722f..1f9338f 100644

[PATCH 09/10] perf tools: Support using -f to override perf.data file ownership for trace

2015-04-02 Thread Yunlong Song
: 0x7fffeb9a0d00, ... 0.211 ( 0.004 ms): ls/47325 stat(filename: 0x7fffeb9a0d00, ... 0.220 ( 0.007 ms): ls/47325 open(filename: 0x7f312599e8ff, ... ... ... As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin

[PATCH 01/10] perf tools: Support using -f to override perf.data file ownership for evlist

2015-04-02 Thread Yunlong Song
, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-evlist.c | 2 ++ tools/perf/util/evsel.h | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/perf/builtin-evlist.c b/tools/perf/builtin-evlist.c index 0f93f85..695ec5a 100644

[PATCH 03/10] perf tools: Support using -f to override perf.data file ownership for kmem

2015-04-02 Thread Yunlong Song
: 437599 Total bytes allocated: 615472 Total bytes wasted on internal fragmentation: 177873 Internal fragmentation: 28.900259% Cross CPU allocations: 6/1192 As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-kmem.c | 9

[PATCH 08/10] perf tools: Support using -f to override perf.data file ownership for timechart

2015-04-02 Thread Yunlong Song
; svg width=1000 height=10110 version=1.1 xmlns=http://www.w3.org/2000/svg; defs style type=text/css ![CDATA[ rect { stroke-width: 1; } ... ... As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin

[PATCH 02/10] perf tools: Support using -f to override perf.data file ownership for inject

2015-04-02 Thread Yunlong Song
works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-inject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c index ea46df25..40a33d7 100644 --- a/tools/perf/builtin-inject.c +++ b/tools/perf/builtin

[PATCH 07/10] perf tools: Support using -f to override perf.data file ownership for script

2015-04-02 Thread Yunlong Song
: 63058 cycles: 8105a592 raise_softirq ([kernel.kallsyms]) ls 41298 2590086.567448:1706255 cycles:406ae0 [unknown] (/usr/bin/ls) As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin

[PATCH 05/10] perf tools: Support using -f to override perf.data file ownership for lock

2015-04-02 Thread Yunlong Song
... ... As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-lock.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 7893a9b..d49c2ab 100644 --- a/tools/perf/builtin

[PATCH 06/10] perf tools: Support using -f to override perf.data file ownership for mem

2015-04-02 Thread Yunlong Song
/kcore:page_remove_rmap As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-mem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c index b4dcf0b..675216e 100644 --- a/tools/perf/builtin

[PATCH 10/10] perf tools: Support using -f to override perf.data file ownership for data convert

2015-04-02 Thread Yunlong Song
perf_stream_0 As shown above, the -f option really works now. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-data.c | 4 +++- tools/perf/util/data-convert-bt.c | 3 ++- tools/perf/util/data-convert-bt.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-04-01 Thread Yunlong Song
On 2015/3/31 22:32, David Ahern wrote: > On 3/31/15 7:46 AM, Yunlong Song wrote: >> diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c >> index c466104..20d887b 100644 >> --- a/tools/perf/builtin-sched.c >> +++ b/tools/perf/builtin-sched.c >>

Re: [PATCH 2/9] perf sched replay: Increase the MAX_PID value to fix assertion failure problem

2015-04-01 Thread Yunlong Song
On 2015/3/31 22:25, David Ahern wrote: > On 3/31/15 7:46 AM, Yunlong Song wrote: >> diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c >> index a1893e8..c466104 100644 >> --- a/tools/perf/builtin-sched.c >> +++ b/tools/perf/builtin-sched.c >&g

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-04-01 Thread Yunlong Song
On 2015/3/31 23:56, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 31, 2015 at 08:32:37AM -0600, David Ahern escreveu: >> On 3/31/15 7:46 AM, Yunlong Song wrote: >>> - BUG_ON(pid >= MAX_PID); >>> + if (sched->pid_to_task == NULL) { >>> + i

Re: [PATCH 2/9] perf sched replay: Increase the MAX_PID value to fix assertion failure problem

2015-04-01 Thread Yunlong Song
On 2015/3/31 22:25, David Ahern wrote: On 3/31/15 7:46 AM, Yunlong Song wrote: diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index a1893e8..c466104 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -28,7 +28,7 @@ #define MAX_CPUS

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-04-01 Thread Yunlong Song
On 2015/3/31 22:32, David Ahern wrote: On 3/31/15 7:46 AM, Yunlong Song wrote: diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index c466104..20d887b 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -23,6 +23,7 @@ #include semaphore.h

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-04-01 Thread Yunlong Song
On 2015/3/31 23:56, Arnaldo Carvalho de Melo wrote: Em Tue, Mar 31, 2015 at 08:32:37AM -0600, David Ahern escreveu: On 3/31/15 7:46 AM, Yunlong Song wrote: - BUG_ON(pid = MAX_PID); + if (sched-pid_to_task == NULL) { + if (sysctl__read_int(kernel/pid_max, pid_max) 0

[PATCH 4/9] perf sched replay: Realloc the memory of pid_to_task stepwise to adapt to the different pid_max configurations

2015-03-31 Thread Yunlong Song
3 ( :5: 5), nr_events: 1 ... Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 20d887b..dd71481 100644 --- a/tools/perf/builtin-s

[PATCH 5/9] perf sched replay: Fix the segmentation fault problem caused by pr_err in threads

2015-03-31 Thread Yunlong Song
540), nr_events: 1 task 1551 ( : 0), nr_events: 10 ... As shown above, the result continues without any segmentation fault. Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/perf/buil

[PATCH 6/9] perf sched replay: Handle the dead halt of sem_wait when create_tasks() fails for any task

2015-03-31 Thread Yunlong Song
itself. Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 7fe3b3c..3261300 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -451,10 +

[PATCH 0/9] perf sched replay: Make some improvements and fixes

2015-03-31 Thread Yunlong Song
Hi, Found some functions to improve and bugs to fix in perf sched replay. Yunlong Song (9): perf sched replay: Use struct task_desc instead of struct task_task for correct meaning perf sched replay: Increase the MAX_PID value to fix assertion failure problem perf sched

[PATCH 7/9] perf sched replay: Fix the EMFILE error caused by the limitation of the maximum open files

2015-03-31 Thread Yunlong Song
/ 2888.96 #6 : 152.974, ravg: 104.96, cpu: 1167.54 / 2716.82 #7 : 155.579, ravg: 110.02, cpu: 2992.53 / 2744.39 #8 : 130.557, ravg: 112.08, cpu: 1126.43 / 2582.59 #9 : 138.520, ravg: 114.72, cpu: 1253.22 / 2449.65 #10 : 134.328, ravg: 116.68, cpu: 1587.95 / 2363.48 Signed-off-by: Yunlong Song

[PATCH 2/9] perf sched replay: Increase the MAX_PID value to fix assertion failure problem

2015-03-31 Thread Yunlong Song
task 3 ( :5: 5), nr_events: 1 ... Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index a1893e8..c466104 100644 --- a/tool

[PATCH 1/9] perf sched replay: Use struct task_desc instead of struct task_task for correct meaning

2015-03-31 Thread Yunlong Song
There is no struct task_task at all, thus it is a typo error in the old commits, now fix it to what it should be in order to avoid unnecessary misunderstanding. Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools

[PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-03-31 Thread Yunlong Song
nts: 1 ... Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index c466104..20d887b 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-s

[PATCH 8/9] perf sched replay: Support using -f to override perf.data file ownership

2015-03-31 Thread Yunlong Song
, the -f option really works now. Besides for replay, -f option can also work for latency and map. Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 5ab58c6..7b7b798 100644

[PATCH 9/9] perf sched replay: Use replay_repeat to calculate the runavg of cpu usage instead of the default value 10

2015-03-31 Thread Yunlong Song
eplay_repeat to achieve more accurate results instead of the default value 10. Signed-off-by: Yunlong Song --- tools/perf/builtin-sched.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 7b7b798..5275bab 100644

[PATCH 6/9] perf sched replay: Handle the dead halt of sem_wait when create_tasks() fails for any task

2015-03-31 Thread Yunlong Song
itself. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 7fe3b3c..3261300 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf

[PATCH 4/9] perf sched replay: Realloc the memory of pid_to_task stepwise to adapt to the different pid_max configurations

2015-03-31 Thread Yunlong Song
( :5: 5), nr_events: 1 ... Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 20d887b..dd71481 100644 --- a/tools

[PATCH 5/9] perf sched replay: Fix the segmentation fault problem caused by pr_err in threads

2015-03-31 Thread Yunlong Song
:163540), nr_events: 1 task 1551 ( unknown: 0), nr_events: 10 ... As shown above, the result continues without any segmentation fault. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions

[PATCH 0/9] perf sched replay: Make some improvements and fixes

2015-03-31 Thread Yunlong Song
Hi, Found some functions to improve and bugs to fix in perf sched replay. Yunlong Song (9): perf sched replay: Use struct task_desc instead of struct task_task for correct meaning perf sched replay: Increase the MAX_PID value to fix assertion failure problem perf sched

[PATCH 2/9] perf sched replay: Increase the MAX_PID value to fix assertion failure problem

2015-03-31 Thread Yunlong Song
3 ( :5: 5), nr_events: 1 ... Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index a1893e8..c466104 100644

[PATCH 1/9] perf sched replay: Use struct task_desc instead of struct task_task for correct meaning

2015-03-31 Thread Yunlong Song
There is no struct task_task at all, thus it is a typo error in the old commits, now fix it to what it should be in order to avoid unnecessary misunderstanding. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-03-31 Thread Yunlong Song
... Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index c466104..20d887b 100644 --- a/tools/perf/builtin-sched.c +++ b/tools

[PATCH 7/9] perf sched replay: Fix the EMFILE error caused by the limitation of the maximum open files

2015-03-31 Thread Yunlong Song
-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 3261300..5ab58c6 100644 --- a/tools/perf/builtin-sched.c

[PATCH 8/9] perf sched replay: Support using -f to override perf.data file ownership

2015-03-31 Thread Yunlong Song
above, the -f option really works now. Besides for replay, -f option can also work for latency and map. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c

[PATCH 9/9] perf sched replay: Use replay_repeat to calculate the runavg of cpu usage instead of the default value 10

2015-03-31 Thread Yunlong Song
to achieve more accurate results instead of the default value 10. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-sched.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 7b7b798..5275bab

[tip:perf/core] perf tools: Remove (null) value of "Sort order" for perf mem report

2015-03-24 Thread tip-bot for Yunlong Song
Commit-ID: 228f14f2cbf481e0ec0bd0c7f947383cfa2d5167 Gitweb: http://git.kernel.org/tip/228f14f2cbf481e0ec0bd0c7f947383cfa2d5167 Author: Yunlong Song AuthorDate: Mon, 23 Mar 2015 11:50:05 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Mar 2015 12:06:55 -0300 perf tools

[tip:perf/core] perf tools: Remove (null) value of Sort order for perf mem report

2015-03-24 Thread tip-bot for Yunlong Song
Commit-ID: 228f14f2cbf481e0ec0bd0c7f947383cfa2d5167 Gitweb: http://git.kernel.org/tip/228f14f2cbf481e0ec0bd0c7f947383cfa2d5167 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Mon, 23 Mar 2015 11:50:05 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 24

Re: [PATCH v2] perf tools: Remove (null) value of "Sort order" for perf mem report

2015-03-23 Thread Yunlong Song
On 2015/3/24 0:15, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 23, 2015 at 11:50:05AM +0800, Yunlong Song escreveu: >> Signed-off-by: Yunlong Song >> Signed-off-by: Namhyung Kim > > Humm, this doesn't seem to apply (Namhyung's S-o-B), as this patch was > made by you a

Re: [PATCH v2] perf tools: Remove (null) value of Sort order for perf mem report

2015-03-23 Thread Yunlong Song
On 2015/3/24 0:15, Arnaldo Carvalho de Melo wrote: Em Mon, Mar 23, 2015 at 11:50:05AM +0800, Yunlong Song escreveu: Signed-off-by: Yunlong Song yunlong.s...@huawei.com Signed-off-by: Namhyung Kim namhy...@kernel.org Humm, this doesn't seem to apply (Namhyung's S-o-B), as this patch was made

Re: [PATCH] perf tools: Remove (null) value of "Sort order" for perf mem report

2015-03-22 Thread Yunlong Song
On 2015/3/23 8:44, Namhyung Kim wrote: > Hi Yunlong, > > On Thu, Mar 19, 2015 at 09:58:32PM +0800, Yunlong Song wrote: >> When '--sort' is not set, 'perf mem report" will print a null pointer as >> the output value of sort order, so fix it. >> >> Example:

[PATCH v2] perf tools: Remove (null) value of "Sort order" for perf mem report

2015-03-22 Thread Yunlong Song
m,dso,symbol_daddr,dso_daddr,snoop,tlb,locked # ... Signed-off-by: Yunlong Song Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 2 +- tools/perf/util/sort.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c

[tip:perf/core] perf build: Use FEATURE-DUMP instead of PERF-FEATURES in the .gitignore file

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 43f3e14f0cd16a6c3430137ee22176033d1960da Gitweb: http://git.kernel.org/tip/43f3e14f0cd16a6c3430137ee22176033d1960da Author: Yunlong Song AuthorDate: Fri, 20 Mar 2015 11:20:37 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 20 Mar 2015 17:49:51 -0300 perf build

[tip:perf/core] perf build: Add config/feature-checks/ *.output to the .gitignore file

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 1c30f546f3b7a1ac8b002dc3b3e8f4e26d195fa0 Gitweb: http://git.kernel.org/tip/1c30f546f3b7a1ac8b002dc3b3e8f4e26d195fa0 Author: Yunlong Song AuthorDate: Fri, 20 Mar 2015 11:20:38 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 20 Mar 2015 17:49:52 -0300 perf build

[tip:perf/core] perf tools: Avoid confusion with preloaded bash function for perf bash completion

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 1312c8a8fb126b9e7c45671813c39f8a435fadcb Gitweb: http://git.kernel.org/tip/1312c8a8fb126b9e7c45671813c39f8a435fadcb Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:58 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:53:27 -0300 perf tools

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf test

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 1f9975f14ce4f7258db1cb0eea8fba17482e331e Gitweb: http://git.kernel.org/tip/1f9975f14ce4f7258db1cb0eea8fba17482e331e Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:55 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:52:54 -0300 perf tools

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf timechart

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 33ec0caf6a3bce1289a915845866828e19c04afb Gitweb: http://git.kernel.org/tip/33ec0caf6a3bce1289a915845866828e19c04afb Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:56 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:53:25 -0300 perf tools

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf trace

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 6fdd9cb700dcd84193a259bbf8f6c918c243da15 Gitweb: http://git.kernel.org/tip/6fdd9cb700dcd84193a259bbf8f6c918c243da15 Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:57 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:53:26 -0300 perf tools

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf help

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: e24a110882949c609c5fb7625b71d8e77264257b Gitweb: http://git.kernel.org/tip/e24a110882949c609c5fb7625b71d8e77264257b Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:53 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:39 -0300 perf tools

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf script

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 40cae2b779f2826f3d82674027299332c2007716 Gitweb: http://git.kernel.org/tip/40cae2b779f2826f3d82674027299332c2007716 Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:54 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:39 -0300 perf tools

[tip:perf/core] perf tools: Fix the bash completion to support listing events for --event

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 3346b542f4165cb0007cfe3600866acbee67c686 Gitweb: http://git.kernel.org/tip/3346b542f4165cb0007cfe3600866acbee67c686 Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:50 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:37 -0300 perf tools

[tip:perf/core] perf tools: Fix the bash completion for listing subcommands of perf

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: e003ce54d2ccbb8da0fd4f421e1cc9686ef25add Gitweb: http://git.kernel.org/tip/e003ce54d2ccbb8da0fd4f421e1cc9686ef25add Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:51 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:38 -0300 perf tools

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf data

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 01b7160bc6674912f6b7043bbf58d66e62e41054 Gitweb: http://git.kernel.org/tip/01b7160bc6674912f6b7043bbf58d66e62e41054 Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:52 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:38 -0300 perf tools

[tip:perf/core] perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: bc81fad125dba7da33dbeac4c10d9c84614eb3ab Gitweb: http://git.kernel.org/tip/bc81fad125dba7da33dbeac4c10d9c84614eb3ab Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:49 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:37 -0300 perf tools

[tip:perf/core] perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: eee200a6c4a9712146ba999f944ba4f2c3fc2d44 Gitweb: http://git.kernel.org/tip/eee200a6c4a9712146ba999f944ba4f2c3fc2d44 Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:48 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:28 -0300 perf tools

[tip:perf/core] perf tools: Fix the bash completion for listing options of perf subcommand

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 02fde323b9aaebb4a21e7c0e04759470b6c07594 Gitweb: http://git.kernel.org/tip/02fde323b9aaebb4a21e7c0e04759470b6c07594 Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:46 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:48:56 -0300 perf tools

[tip:perf/core] perf tools: Fix the bash completion for listing subsubcommands of perf subcommand

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 67afff485b2ce742374edb2e17d21e2bc664eb1f Gitweb: http://git.kernel.org/tip/67afff485b2ce742374edb2e17d21e2bc664eb1f Author: Yunlong Song AuthorDate: Wed, 18 Mar 2015 21:35:47 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 19 Mar 2015 13:49:20 -0300 perf tools

[tip:perf/core] perf tools: Avoid confusion with preloaded bash function for perf bash completion

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 1312c8a8fb126b9e7c45671813c39f8a435fadcb Gitweb: http://git.kernel.org/tip/1312c8a8fb126b9e7c45671813c39f8a435fadcb Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:58 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf trace

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 6fdd9cb700dcd84193a259bbf8f6c918c243da15 Gitweb: http://git.kernel.org/tip/6fdd9cb700dcd84193a259bbf8f6c918c243da15 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:57 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf timechart

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 33ec0caf6a3bce1289a915845866828e19c04afb Gitweb: http://git.kernel.org/tip/33ec0caf6a3bce1289a915845866828e19c04afb Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:56 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf test

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 1f9975f14ce4f7258db1cb0eea8fba17482e331e Gitweb: http://git.kernel.org/tip/1f9975f14ce4f7258db1cb0eea8fba17482e331e Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:55 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf build: Add config/feature-checks/ *.output to the .gitignore file

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 1c30f546f3b7a1ac8b002dc3b3e8f4e26d195fa0 Gitweb: http://git.kernel.org/tip/1c30f546f3b7a1ac8b002dc3b3e8f4e26d195fa0 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Fri, 20 Mar 2015 11:20:38 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 20

[tip:perf/core] perf build: Use FEATURE-DUMP instead of PERF-FEATURES in the .gitignore file

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 43f3e14f0cd16a6c3430137ee22176033d1960da Gitweb: http://git.kernel.org/tip/43f3e14f0cd16a6c3430137ee22176033d1960da Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Fri, 20 Mar 2015 11:20:37 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 20

[tip:perf/core] perf tools: Fix the bash completion for listing options of perf subcommand

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 02fde323b9aaebb4a21e7c0e04759470b6c07594 Gitweb: http://git.kernel.org/tip/02fde323b9aaebb4a21e7c0e04759470b6c07594 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:46 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: eee200a6c4a9712146ba999f944ba4f2c3fc2d44 Gitweb: http://git.kernel.org/tip/eee200a6c4a9712146ba999f944ba4f2c3fc2d44 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:48 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Fix the bash completion for listing subsubcommands of perf subcommand

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 67afff485b2ce742374edb2e17d21e2bc664eb1f Gitweb: http://git.kernel.org/tip/67afff485b2ce742374edb2e17d21e2bc664eb1f Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:47 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf data

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 01b7160bc6674912f6b7043bbf58d66e62e41054 Gitweb: http://git.kernel.org/tip/01b7160bc6674912f6b7043bbf58d66e62e41054 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:52 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Fix the bash completion to support listing events for --event

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 3346b542f4165cb0007cfe3600866acbee67c686 Gitweb: http://git.kernel.org/tip/3346b542f4165cb0007cfe3600866acbee67c686 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:50 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Fix the bash completion for listing subcommands of perf

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: e003ce54d2ccbb8da0fd4f421e1cc9686ef25add Gitweb: http://git.kernel.org/tip/e003ce54d2ccbb8da0fd4f421e1cc9686ef25add Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:51 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: bc81fad125dba7da33dbeac4c10d9c84614eb3ab Gitweb: http://git.kernel.org/tip/bc81fad125dba7da33dbeac4c10d9c84614eb3ab Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:49 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf help

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: e24a110882949c609c5fb7625b71d8e77264257b Gitweb: http://git.kernel.org/tip/e24a110882949c609c5fb7625b71d8e77264257b Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:53 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[tip:perf/core] perf tools: Add the bash completion for listing subsubcommands of perf script

2015-03-22 Thread tip-bot for Yunlong Song
Commit-ID: 40cae2b779f2826f3d82674027299332c2007716 Gitweb: http://git.kernel.org/tip/40cae2b779f2826f3d82674027299332c2007716 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Wed, 18 Mar 2015 21:35:54 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 19

[PATCH v2] perf tools: Remove (null) value of Sort order for perf mem report

2015-03-22 Thread Yunlong Song
,symbol_daddr,dso_daddr,snoop,tlb,locked # ... Signed-off-by: Yunlong Song yunlong.s...@huawei.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c | 2 +- tools/perf/util/sort.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin

Re: [PATCH] perf tools: Remove (null) value of Sort order for perf mem report

2015-03-22 Thread Yunlong Song
On 2015/3/23 8:44, Namhyung Kim wrote: Hi Yunlong, On Thu, Mar 19, 2015 at 09:58:32PM +0800, Yunlong Song wrote: When '--sort' is not set, 'perf mem report will print a null pointer as the output value of sort order, so fix it. Example: Before this patch: $ perf mem report

<    1   2   3   4   5   6   7   8   >