linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 00/14] perf diff: Factor diff command
@ 2012-09-27 11:09 Jiri Olsa
  2012-09-27 11:09 ` [PATCH 01/14] perf hists: Add struct hists pointer to struct hist_entry Jiri Olsa
                   ` (14 more replies)
  0 siblings, 15 replies; 28+ messages in thread
From: Jiri Olsa @ 2012-09-27 11:09 UTC (permalink / raw)
  To: linux-kernel
  Cc: Arnaldo Carvalho de Melo, Peter Zijlstra, Ingo Molnar,
	Paul Mackerras, Corey Ashford, Frederic Weisbecker,
	Paul E. McKenney, Andi Kleen, David Ahern, Namhyung Kim

hi,
this is v2 of diff command changes proposed in here:
https://lkml.org/lkml/2012/9/6/344

It's now rebased on new hists hpp* interface plus few
more additional changes.

I'm still testing/using it to come up with some proved
usability, but would be nice to have it in anyway.

v2 changes:
  - based on hpp* interface
  - patch 13/14 includes samples with no symbol in diff output
    makes diff numbers looks the same as in report
  - patch 14/14 displays empty space instead of zeros for
    non paired samples makes the output more clear

Attached patches:
  01/14 perf hists: Add struct hists pointer to struct hist_entry
  02/14 perf diff: Refactor diff displacement possition info
  03/14 perf hists: Separate overhead and baseline columns
  04/14 perf tools: Removing hists pair argument from output path
  05/14 perf diff: Add -b option for perf diff to display paired entries only
  06/14 perf tool: Add hpp interface to enable/disable hpp column
  07/14 perf diff: Add ratio computation way to compare hist entries
  08/14 perf diff: Removing the total_period argument from output code
  09/14 perf diff: Add option to sort entries based on diff computation
  10/14 perf diff: Add weighted diff computation way to compare hist entries
  11/14 perf diff: Add -p option to display period values for hist entries
  12/14 perf diff: Add -F option to display formula for computation
  13/14 perf diff: Include samples without symbol in overall stats
  14/14 perf diff: Display empty space for non paired samples

Available also at:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git
perf/diff

Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>

---
 tools/perf/Documentation/perf-diff.txt |  60 ++++++++++++
 tools/perf/builtin-diff.c              | 462 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 tools/perf/builtin-report.c            |   4 +-
 tools/perf/builtin-top.c               |   2 +-
 tools/perf/ui/browsers/hists.c         |   6 +-
 tools/perf/ui/gtk/browser.c            |   6 +-
 tools/perf/ui/hist.c                   | 256 +++++++++++++++++++++++++++++++++++++------------
 tools/perf/ui/setup.c                  |   2 +-
 tools/perf/ui/stdio/hist.c             |  45 ++++-----
 tools/perf/util/hist.c                 |   2 +
 tools/perf/util/hist.h                 |  19 ++--
 tools/perf/util/sort.h                 |  21 ++++-
 12 files changed, 759 insertions(+), 126 deletions(-)

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2012-10-04  6:16 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-27 11:09 [PATCHv2 00/14] perf diff: Factor diff command Jiri Olsa
2012-09-27 11:09 ` [PATCH 01/14] perf hists: Add struct hists pointer to struct hist_entry Jiri Olsa
2012-09-27 11:09 ` [PATCH 02/14] perf diff: Refactor diff displacement possition info Jiri Olsa
2012-09-27 11:09 ` [PATCH 03/14] perf hists: Separate overhead and baseline columns Jiri Olsa
2012-09-28  5:56   ` Namhyung Kim
2012-10-02 13:32     ` Jiri Olsa
2012-09-27 11:09 ` [PATCH 04/14] perf tools: Removing hists pair argument from output path Jiri Olsa
2012-09-27 11:09 ` [PATCH 05/14] perf diff: Add -b option for perf diff to display paired entries only Jiri Olsa
2012-09-27 11:09 ` [PATCH 06/14] perf tool: Add hpp interface to enable/disable hpp column Jiri Olsa
2012-09-28  6:02   ` Namhyung Kim
2012-09-27 11:09 ` [PATCH 07/14] perf diff: Add ratio computation way to compare hist entries Jiri Olsa
2012-09-27 11:09 ` [PATCH 08/14] perf diff: Removing the total_period argument from output code Jiri Olsa
2012-09-27 11:09 ` [PATCH 09/14] perf diff: Add option to sort entries based on diff computation Jiri Olsa
2012-09-27 11:09 ` [PATCH 10/14] perf diff: Add weighted diff computation way to compare hist entries Jiri Olsa
2012-09-27 11:09 ` [PATCH 11/14] perf diff: Add -p option to display period values for " Jiri Olsa
2012-09-27 11:09 ` [PATCH 12/14] perf diff: Add -F option to display formula for computation Jiri Olsa
2012-09-27 11:09 ` [PATCH 13/14] perf diff: Include samples without symbol in overall stats Jiri Olsa
2012-09-27 11:09 ` [PATCH 14/14] perf diff: Display empty space for non paired samples Jiri Olsa
2012-10-04  6:06   ` Namhyung Kim
2012-09-27 21:31 ` [PATCHv2 00/14] perf diff: Factor diff command Andi Kleen
2012-10-01  8:16   ` Jiri Olsa
2012-10-02 16:30     ` Andi Kleen
2012-10-03 13:47       ` Arnaldo Carvalho de Melo
2012-10-03 16:18         ` Andi Kleen
2012-10-03 16:53           ` Andi Kleen
2012-10-03 18:06             ` Arnaldo Carvalho de Melo
2012-10-03 16:55       ` Andi Kleen
2012-10-03 17:01         ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).