mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] perf tools: Add support for more debug variables
@ 2014-07-12 21:56 Jiri Olsa
  2014-07-12 21:56 ` [PATCH 1/4] perf tools: Remove verbose from functions prototypes Jiri Olsa
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jiri Olsa @ 2014-07-12 21:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Arnaldo Carvalho de Melo, Corey Ashford, David Ahern,
	Frederic Weisbecker, Ingo Molnar, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra

hi,
adding support for more debug variables and --debug option
as a way to setup debug variables. Starting with support
for verbose, more will come.

It's possible to use it now with report command:
  $ perf report --debug verbose
  $ perf report --debug verbose=2

I need this for ordered events object debug outputs.

thanks,
jirka


---
Jiri Olsa (4):
      perf tools: Remove verbose from functions prototypes
      perf tools: Move pr_* debug macros into debug object
      perf tools: Factor eprintf to allow different debug variables
      perf tools: Add --debug optionto set debug variable

 tools/perf/Documentation/perf-report.txt             |  6 ++++++
 tools/perf/arch/x86/tests/dwarf-unwind.c             |  1 +
 tools/perf/arch/x86/util/unwind-libunwind.c          |  1 +
 tools/perf/builtin-evlist.c                          |  1 +
 tools/perf/builtin-help.c                            |  1 +
 tools/perf/builtin-report.c                          |  2 ++
 tools/perf/builtin-timechart.c                       |  1 +
 tools/perf/tests/dso-data.c                          |  1 +
 tools/perf/tests/evsel-roundtrip-name.c              |  1 +
 tools/perf/tests/evsel-tp-sched.c                    |  1 +
 tools/perf/tests/open-syscall-tp-fields.c            |  1 +
 tools/perf/tests/parse-events.c                      |  1 +
 tools/perf/tests/parse-no-sample-id-all.c            |  1 +
 tools/perf/tests/sample-parsing.c                    |  1 +
 tools/perf/tests/thread-mg-share.c                   |  1 +
 tools/perf/ui/stdio/hist.c                           |  2 +-
 tools/perf/util/data.c                               |  1 +
 tools/perf/util/debug.c                              | 57 ++++++++++++++++++++++++++++++++++++++++++++++------
 tools/perf/util/debug.h                              | 23 +++++++++++++++++++++
 tools/perf/util/include/linux/kernel.h               | 21 -------------------
 tools/perf/util/map.c                                | 24 +++++++++++-----------
 tools/perf/util/map.h                                |  9 ++++-----
 tools/perf/util/probe-finder.c                       |  1 -
 tools/perf/util/pstack.c                             |  1 +
 tools/perf/util/python.c                             |  4 ++--
 tools/perf/util/scripting-engines/trace-event-perl.c |  1 +
 tools/perf/util/thread.c                             |  4 ++--
 tools/perf/util/trace-event-info.c                   |  1 +
 tools/perf/util/trace-event-read.c                   |  2 +-
 tools/perf/util/unwind-libunwind.c                   |  1 +
 tools/perf/util/util.c                               |  1 +
 tools/perf/util/vdso.c                               |  1 +
 32 files changed, 124 insertions(+), 51 deletions(-)

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

end of thread, other threads:[~2014-07-14 14:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-12 21:56 [PATCH 0/4] perf tools: Add support for more debug variables Jiri Olsa
2014-07-12 21:56 ` [PATCH 1/4] perf tools: Remove verbose from functions prototypes Jiri Olsa
2014-07-12 21:56 ` [PATCH 2/4] perf tools: Move pr_* debug macros into debug object Jiri Olsa
2014-07-12 21:56 ` [PATCH 3/4] perf tools: Factor eprintf to allow different debug variables Jiri Olsa
2014-07-12 21:56 ` [PATCH 4/4] perf tools: Add --debug optionto set debug variable Jiri Olsa
2014-07-14  7:51   ` Namhyung Kim
2014-07-14 14:51     ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome