[tip:perf/core] perf evsel: Enable ignore_missing_thread for pid option

2017-12-28 Thread tip-bot for Mengting Zhang
Commit-ID: ca8000684ec4e66f965e1f9547a3c6cb834154ca Gitweb: https://git.kernel.org/tip/ca8000684ec4e66f965e1f9547a3c6cb834154ca Author: Mengting Zhang <zhangmengt...@huawei.com> AuthorDate: Wed, 13 Dec 2017 15:01:53 +0800 Committer: Arnaldo Carvalho de Melo <a...@redhat.com>

[tip:perf/core] perf evsel: Enable ignore_missing_thread for pid option

2017-12-28 Thread tip-bot for Mengting Zhang
Commit-ID: ca8000684ec4e66f965e1f9547a3c6cb834154ca Gitweb: https://git.kernel.org/tip/ca8000684ec4e66f965e1f9547a3c6cb834154ca Author: Mengting Zhang AuthorDate: Wed, 13 Dec 2017 15:01:53 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:58 -0300 perf evsel

[tip:locking/urgent] tools/lib/lockdep: Add missing declaration of 'pr_cont()'

2017-12-13 Thread tip-bot for Mengting Zhang
Commit-ID: 92ccc262e485781ff4c0fb3b7c77a619282df49a Gitweb: https://git.kernel.org/tip/92ccc262e485781ff4c0fb3b7c77a619282df49a Author: Mengting Zhang <zhangmengt...@huawei.com> AuthorDate: Tue, 12 Dec 2017 18:16:57 + Committer: Ingo Molnar <mi...@kernel.org> CommitDate:

[tip:locking/urgent] tools/lib/lockdep: Add missing declaration of 'pr_cont()'

2017-12-13 Thread tip-bot for Mengting Zhang
Commit-ID: 92ccc262e485781ff4c0fb3b7c77a619282df49a Gitweb: https://git.kernel.org/tip/92ccc262e485781ff4c0fb3b7c77a619282df49a Author: Mengting Zhang AuthorDate: Tue, 12 Dec 2017 18:16:57 + Committer: Ingo Molnar CommitDate: Wed, 13 Dec 2017 11:17:35 +0100 tools/lib/lockdep: Add

[PATCH v3] perf evsel: Enable ignore_missing_thread for pid option

2017-12-12 Thread Mengting Zhang
Multiline comment style fixes. Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/perf/builtin-record.c | 4 ++-- tools/perf/util/evsel.c | 48 +++-- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-r

[PATCH v3] perf evsel: Enable ignore_missing_thread for pid option

2017-12-12 Thread Mengting Zhang
Multiline comment style fixes. Signed-off-by: Mengting Zhang --- tools/perf/builtin-record.c | 4 ++-- tools/perf/util/evsel.c | 48 +++-- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-recor

[PATCH v2] perf evsel: Enable ignore_missing_thread for pid option

2017-12-07 Thread Mengting Zhang
troducing perf_evsel__remove_fd() and perf_evlist__update_fds to allow removing fds for the missing thread. Changes since v1: - Change group_fd__remove() into a more genetic way without changing code logic - Remove redundant condition Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com

[PATCH v2] perf evsel: Enable ignore_missing_thread for pid option

2017-12-07 Thread Mengting Zhang
troducing perf_evsel__remove_fd() and perf_evlist__update_fds to allow removing fds for the missing thread. Changes since v1: - Change group_fd__remove() into a more genetic way without changing code logic - Remove redundant condition Signed-off-by: Mengting Zhang Signed-off-by: Cheng Jian --- t

[PATCH] perf evsel: Enable ignore_missing_thread for pid option

2017-12-05 Thread Mengting Zhang
troducing group_fd__remove() to allow removing fds for the missing thread. Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> Signed-off-by: Cheng Jian <cj.chengj...@huawei.com> --- tools/perf/builtin-record.c | 4 ++-- tools/perf/util/evsel.c | 42

[PATCH] perf evsel: Enable ignore_missing_thread for pid option

2017-12-05 Thread Mengting Zhang
troducing group_fd__remove() to allow removing fds for the missing thread. Signed-off-by: Mengting Zhang Signed-off-by: Cheng Jian --- tools/perf/builtin-record.c | 4 ++-- tools/perf/util/evsel.c | 42 -- 2 files changed, 42 insertions(+), 4 deletions

[PATCH] perf parse events: Fix invalid precise_ip handling

2017-11-10 Thread Mengting Zhang
available events Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/perf/util/parse-events.c | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 39b1596..2

[PATCH] perf parse events: Fix invalid precise_ip handling

2017-11-10 Thread Mengting Zhang
available events Signed-off-by: Mengting Zhang --- tools/perf/util/parse-events.c | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 39b1596..25225f4 100644 --- a/tools/perf

[PATCH v2] perf evsel: Fix incorrect precise_ip in default event name

2017-11-10 Thread Mengting Zhang
ap2: 1, comm_exec: 1 Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/perf/util/evsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 0dccdb8..d6a6205 100644 --- a/tools/perf/util/evsel.c +++ b/tools/p

[PATCH v2] perf evsel: Fix incorrect precise_ip in default event name

2017-11-10 Thread Mengting Zhang
ap2: 1, comm_exec: 1 Signed-off-by: Mengting Zhang --- tools/perf/util/evsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 0dccdb8..d6a6205 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -31

[PATCH] perf evsel: Fix incorrect precise_ip in default event name

2017-11-09 Thread Mengting Zhang
ap2: 1, comm_exec: 1 Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/perf/util/evsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 0dccdb8..94cf11d 100644 --- a/tools/perf/util/evsel.c +++

[PATCH] perf evsel: Fix incorrect precise_ip in default event name

2017-11-09 Thread Mengting Zhang
ap2: 1, comm_exec: 1 Signed-off-by: Mengting Zhang --- tools/perf/util/evsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 0dccdb8..94cf11d 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -31

[PATCH] lockdep: Add missing declaration of 'pr_cont()'

2017-11-06 Thread Mengting Zhang
-function-declaration] pr_cont(") at:\n"); ^ Adding the declaration of 'pr_cont' fixes the problem. Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/include/linux/lockdep.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/linux/lockdep.h b/too

[PATCH] lockdep: Add missing declaration of 'pr_cont()'

2017-11-06 Thread Mengting Zhang
-function-declaration] pr_cont(") at:\n"); ^ Adding the declaration of 'pr_cont' fixes the problem. Signed-off-by: Mengting Zhang --- tools/include/linux/lockdep.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/linux/lockdep.h b/tools/include/linux/lockdep.h ind

[PATCH] perf script: Add option to display guest samples in host

2017-10-18 Thread Mengting Zhang
ext_pid=32396 next_prio=120 CPU 0/KVM 32396 [008] 18479979.230520: sched:sched_switch: prev_comm=CPU 0/KVM prev_pid=32396 prev_prio=120 prev_state=S ==> next_comm=swapper/8 next_pid=0 next_prio=120 Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/perf/Documentation

[PATCH] perf script: Add option to display guest samples in host

2017-10-18 Thread Mengting Zhang
ext_pid=32396 next_prio=120 CPU 0/KVM 32396 [008] 18479979.230520: sched:sched_switch: prev_comm=CPU 0/KVM prev_pid=32396 prev_prio=120 prev_state=S ==> next_comm=swapper/8 next_pid=0 next_prio=120 Signed-off-by: Mengting Zhang --- tools/perf/Documentation/perf-script.txt | 3 ++

[tip:perf/urgent] perf report: Fix debug messages with --call-graph option

2017-09-29 Thread tip-bot for Mengting Zhang
Commit-ID: 9789e7e93f2b892098d7684ac8131092aa617814 Gitweb: https://git.kernel.org/tip/9789e7e93f2b892098d7684ac8131092aa617814 Author: Mengting Zhang <zhangmengt...@huawei.com> AuthorDate: Sat, 23 Sep 2017 16:18:14 +0800 Committer: Arnaldo Carvalho de Melo <a...@redhat.com>

[tip:perf/urgent] perf report: Fix debug messages with --call-graph option

2017-09-29 Thread tip-bot for Mengting Zhang
Commit-ID: 9789e7e93f2b892098d7684ac8131092aa617814 Gitweb: https://git.kernel.org/tip/9789e7e93f2b892098d7684ac8131092aa617814 Author: Mengting Zhang AuthorDate: Sat, 23 Sep 2017 16:18:14 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 12:20:12 -0300 perf

[PATCH v2] perf report: Fix debug messages with --call-graph option

2017-09-23 Thread Mengting Zhang
out of the function parse_callchain_{mode,order,sort_key,value}. Signed-off-by: Mengting Zhang <zhangmengt...@huawei.com> --- tools/perf/util/callchain.c | 35 +-- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/tools/perf/util/callchain.c b/tools/p

[PATCH v2] perf report: Fix debug messages with --call-graph option

2017-09-23 Thread Mengting Zhang
out of the function parse_callchain_{mode,order,sort_key,value}. Signed-off-by: Mengting Zhang --- tools/perf/util/callchain.c | 35 +-- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c index 510