-by: Chenggang Qin
---
tools/perf/builtin-report.c |5 +
tools/perf/util/session.c |3 +++
tools/perf/util/session.h |2 ++
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index e9e9d0a..d3c1c8a 100644
--- a/tools
-by: Chenggang Qin
---
tools/perf/util/session.c | 43 +--
1 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 4e9dd66..d50e29e 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util
rton
Signed-off-by: Chenggang Qin
---
tools/perf/builtin-report.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 72eae74..e9e9d0a 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/bui
Cc: Wu Fengguang
Cc: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
---
tools/perf/util/session.c |3 +++
tools/perf/util/session.h |1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 193b
: Ingo Molnar
Cc: Arnaldo Carvalho de Melo
Cc: Arjan van de Ven
Cc: Namhyung Kim
Cc: Yanmin Zhang
Cc: Wu Fengguang
Cc: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
Chenggang Qin (4):
perf tools: add parameter 'start' & 'end' to perf report
perf tools: relate 'start' &a
From: Chenggang Qin
perf_session_free_sample_buffers() can be removed from
__perf_session__process_pipe_events(), since the ordered_samples buffer is not
used while samples are read from the pipe.
__perf_session__process_pipe_events() is only used while process the events from
pipe. While
From: Chenggang Qin chenggang@taobao.com
perf_session_free_sample_buffers() can be removed from
__perf_session__process_pipe_events(), since the ordered_samples buffer is not
used while samples are read from the pipe.
__perf_session__process_pipe_events() is only used while process the events
: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin chenggang@taobao.com
Chenggang Qin (4):
perf tools: add parameter 'start' 'end' to perf report
perf tools: relate 'start' 'end' to perf_session
perf tools: record min_timestamp of samples
...@linux.intel.com
Cc: Namhyung Kim namhy...@gmail.com
Cc: Yanmin Zhang yanmin.zh...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin chenggang@taobao.com
---
tools/perf/util/session.c | 43
ar...@linux.intel.com
Cc: Namhyung Kim namhy...@gmail.com
Cc: Yanmin Zhang yanmin.zh...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin chenggang@taobao.com
---
tools/perf/builtin
Cc: Namhyung Kim namhy...@gmail.com
Cc: Yanmin Zhang yanmin.zh...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin chenggang@taobao.com
---
tools/perf/builtin-report.c |5 +
tools
de Melo a...@ghostprotocols.net
Cc: Arjan van de Ven ar...@linux.intel.com
Cc: Namhyung Kim namhy...@gmail.com
Cc: Yanmin Zhang yanmin.zh...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin
Commit-ID: 784f3390f9bd900adfb3b0373615e105a0d9749a
Gitweb: http://git.kernel.org/tip/784f3390f9bd900adfb3b0373615e105a0d9749a
Author: Chenggang Qin
AuthorDate: Fri, 11 Oct 2013 08:27:57 +0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 14 Oct 2013 12:21:23 -0300
perf symbols
Commit-ID: d4f74eb89199dc7bde5579783e9188841e1271e3
Gitweb: http://git.kernel.org/tip/d4f74eb89199dc7bde5579783e9188841e1271e3
Author: Chenggang Qin
AuthorDate: Fri, 11 Oct 2013 08:27:59 +0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 14 Oct 2013 12:21:20 -0300
perf symbols
Commit-ID: d4f74eb89199dc7bde5579783e9188841e1271e3
Gitweb: http://git.kernel.org/tip/d4f74eb89199dc7bde5579783e9188841e1271e3
Author: Chenggang Qin chenggang@taobao.com
AuthorDate: Fri, 11 Oct 2013 08:27:59 +0800
Committer: Arnaldo Carvalho de Melo a...@redhat.com
CommitDate: Mon
Commit-ID: 784f3390f9bd900adfb3b0373615e105a0d9749a
Gitweb: http://git.kernel.org/tip/784f3390f9bd900adfb3b0373615e105a0d9749a
Author: Chenggang Qin chenggang@taobao.com
AuthorDate: Fri, 11 Oct 2013 08:27:57 +0800
Committer: Arnaldo Carvalho de Melo a...@redhat.com
CommitDate: Mon
: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
Reviewed-by: Namhyung Kim
---
tools/perf/util/symbol-elf.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index 4b12bf8..b4df870 100644
From: Chenggang Qin
In function symbols__fixup_duplicate(), while the duplicated symbols are found,
only the rb_node are deleted. The symbol structures themself are ignored.
Then, these memory areas are lost.
This patch fixed the bug.
Thanks.
Cc: David Ahern
Cc: Peter Zijlstra
Cc: Paul
From: Chenggang Qin
Some dsos' symsrc is neither syms_ss or runtime_ss. In this situation, the
corresponding ELF file is opened and mmapped in symsrc__init(), but they will
be not closed and munmapped in any place.
This bug can lead to mmap & munmap mismatched, the mmap areas will exist du
From: Chenggang Qin chenggang@taobao.com
Some dsos' symsrc is neither syms_ss or runtime_ss. In this situation, the
corresponding ELF file is opened and mmapped in symsrc__init(), but they will
be not closed and munmapped in any place.
This bug can lead to mmap munmap mismatched, the mmap
Carvalho de Melo a...@ghostprotocols.net
Cc: Arjan van de Ven ar...@linux.intel.com
Cc: Namhyung Kim namhy...@gmail.com
Cc: Yanmin Zhang yanmin.zh...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang
From: Chenggang Qin chenggang@taobao.com
In function symbols__fixup_duplicate(), while the duplicated symbols are found,
only the rb_node are deleted. The symbol structures themself are ignored.
Then, these memory areas are lost.
This patch fixed the bug.
Thanks.
Cc: David Ahern dsah
From: Chenggang Qin
Vdso is only one in a system. It is not necessory to traverse the
macine->user_dsos list when looking for the dso of vdso.
The flag vdso_found should be replaced by a pointor that point to the dso of
vdso. If the pointer is NULL, dso of vdso have not been created. E
From: Chenggang Qin
If the list traversal is avoided by the last patch, the short name compare in
dsos__find() is unnecessary. The purpose of short name compare is only to find
the dso of vdso. If the vdso can be found by a pointor, the short name compare
can be removed.
Thanks
Cc: David Ahern
From: Chenggang Qin chenggang@taobao.com
If the list traversal is avoided by the last patch, the short name compare in
dsos__find() is unnecessary. The purpose of short name compare is only to find
the dso of vdso. If the vdso can be found by a pointor, the short name compare
can be removed
From: Chenggang Qin chenggang@taobao.com
Vdso is only one in a system. It is not necessory to traverse the
macine-user_dsos list when looking for the dso of vdso.
The flag vdso_found should be replaced by a pointor that point to the dso of
vdso. If the pointer is NULL, dso of vdso have
From: Chenggang Qin
Vdso is only one in a system. It is not necessory to traverse the
macine->user_dsos list while finding the dso of vdso.
The flag vdso_found should be replaced by a pointor that point to the dso of
vdso. If the pointer is NULL, dso of vdso have not been created. E
From: Chenggang Qin
If the list traversal is avoided by the last patch, the short name compare in
dsos__find() is unnecessary. The purpose of short name compare is only to find
the dso of vdso. If the vdso can be found by a pointor, the short name compare
can be removed.
Thanks
Cc: David Ahern
From: Chenggang Qin chenggang@taobao.com
Vdso is only one in a system. It is not necessory to traverse the
macine-user_dsos list while finding the dso of vdso.
The flag vdso_found should be replaced by a pointor that point to the dso of
vdso. If the pointer is NULL, dso of vdso have not been
From: Chenggang Qin chenggang@taobao.com
If the list traversal is avoided by the last patch, the short name compare in
dsos__find() is unnecessary. The purpose of short name compare is only to find
the dso of vdso. If the vdso can be found by a pointor, the short name compare
can be removed
From: Chenggang Qin
In function symbols__fixup_duplicate(), while the duplicated symbols are found,
only the rb_node are deleted. The symbol structures themself are ignored.
Then, these memory areas are lost.
This patch fixed the bug.
Thanks.
Cc: David Ahern
Cc: Peter Zijlstra
Cc: Paul
: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
---
tools/perf/util/symbol-elf.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index 4b12bf8..b4df870 100644
--- a/tools/perf/util/symbol
From: Chenggang Qin
Some dsos' symsrc is neither syms_ss or runtime_ss. In this situation, the
corresponding ELF file is opened and mmapped in symsrc__init(), but they will
be not closed and munmapped in any place.
This bug can lead to mmap & munmap mismatched, the mmap areas will exist du
Carvalho de Melo a...@ghostprotocols.net
Cc: Arjan van de Ven ar...@linux.intel.com
Cc: Namhyung Kim namhy...@gmail.com
Cc: Yanmin Zhang yanmin.zh...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang
From: Chenggang Qin chenggang@taobao.com
Some dsos' symsrc is neither syms_ss or runtime_ss. In this situation, the
corresponding ELF file is opened and mmapped in symsrc__init(), but they will
be not closed and munmapped in any place.
This bug can lead to mmap munmap mismatched, the mmap
From: Chenggang Qin chenggang@taobao.com
In function symbols__fixup_duplicate(), while the duplicated symbols are found,
only the rb_node are deleted. The symbol structures themself are ignored.
Then, these memory areas are lost.
This patch fixed the bug.
Thanks.
Cc: David Ahern dsah
From: Chenggang Qin
In function filename__read_debuglink(), after the elf_begin() mmapped the dso
file,
the execution stream may goto "out_close". So, the elf_end() is skipped, and the
munmap() cannot be executed.
While perf is executed for a long time, the files that are not
From: Chenggang Qin chenggang@taobao.com
In function filename__read_debuglink(), after the elf_begin() mmapped the dso
file,
the execution stream may goto out_close. So, the elf_end() is skipped, and the
munmap() cannot be executed.
While perf is executed for a long time, the files
Carvalho de Melo
Cc: Arjan van de Ven
Cc: Namhyung Kim
Cc: Yanmin Zhang
Cc: Wu Fengguang
Cc: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
---
tools/perf/util/trace-event-parse.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/trace
: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin chenggang@taobao.com
---
tools/perf/util/trace-event-parse.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/trace-event-parse.c
b/tools/perf/util
gned-off-by: Chenggang Qin
---
fs/ext4/inode.c |7 +--
include/trace/events/ext4.h | 22 ++
2 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index cbfe13b..92a379f 100644
--- a/fs/ext4/inode.c
+++ b/fs/
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@redhat.com
Signed-off-by: Chenggang Qin chenggang@alibaba-inc.com
---
fs/ext4/inode.c |7 +--
include/trace/events/ext4.h | 22 ++
2 files changed, 19 insertions(+), 10 deletions(-)
diff
Ahern
Cc: Arjan van de Ven
Cc: Namhyung Kim
Cc: Yanmin Zhang
Cc: Wu Fengguang
Cc: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
---
tools/perf/scripts/python/bin/direct-io-record |2 +
tools/perf/scripts/python/bin/direct-io-report | 21 +++
tools/perf/scripts
-foundation.org
Signed-off-by: Chenggang Qin chenggang@alibaba-inc.com
---
tools/perf/scripts/python/bin/direct-io-record |2 +
tools/perf/scripts/python/bin/direct-io-report | 21 +++
tools/perf/scripts/python/direct-io.py | 185
3 files changed, 208 insertions
: Peter Zijlstra
Cc: Paul Mackerras
Cc: Arnaldo Carvalho de Melo
Cc: Arjan van de Ven
Cc: Namhyung Kim
Cc: Yanmin Zhang
Cc: Wu Fengguang
Cc: Mike Galbraith
Cc: Andrew Morton
Signed-off-by: Chenggang Qin
---
include/trace/events/vfs.h | 62
mm
...@intel.com
Cc: Wu Fengguang fengguang...@intel.com
Cc: Mike Galbraith efa...@gmx.de
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Chenggang Qin chenggang@alibaba-inc.com
---
include/trace/events/vfs.h | 62
mm/filemap.c
From: Chenggang Qin
While we use "perf top -p 'pid'" to monitor the symbols of specified
processes, some new threads would be created by the monitored processes
during "perf top" is running. In current version, these new threads and
their symbols cannot be shown.
This patch
From: Chenggang Qin chenggang@gmail.com
While we use perf top -p 'pid' to monitor the symbols of specified
processes, some new threads would be created by the monitored processes
during perf top is running. In current version, these new threads and
their symbols cannot be shown.
This patch
48 matches
Mail list logo