linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2012-03-05 15:55 Arnaldo Carvalho de Melo
  2012-03-05 16:02 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-03-05 15:55 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Namhyung Kim,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 737f24bda723fdf89ecaacb99fa2bf5683c32799:

  Merge branch 'perf/urgent' into perf/core (2012-03-05 09:20:08 +0100)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo

for you to fetch changes up to ff2a6617c2acd6a8dc468c90ab8708a6ad112bb0:

  perf annotate: Add missing newline on error message (2012-03-05 10:15:50 -0300)

----------------------------------------------------------------
Improvements for 'perf annotate' from Namhyung Kim.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Namhyung Kim (7):
      perf evlist: Restore original errno after open failed
      perf tools: Add descriptions of missing Makefile arguments
      perf annotate: Print asm code as blue when source code is displayed
      perf annotate: Handle lower case key code in annotate_browser__run()
      perf annotate: Restore title when came back to original symbol
      perf annotate: Fix help string on tui
      perf annotate: Add missing newline on error message

 tools/perf/Makefile                    |   14 ++++++++++++++
 tools/perf/util/annotate.c             |    2 +-
 tools/perf/util/evlist.c               |    1 +
 tools/perf/util/ui/browsers/annotate.c |   18 ++++++++++++------
 4 files changed, 28 insertions(+), 7 deletions(-)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2012-03-05 15:55 Arnaldo Carvalho de Melo
@ 2012-03-05 16:02 ` Ingo Molnar
  0 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2012-03-05 16:02 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Namhyung Kim, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra, Arnaldo Carvalho de Melo


* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:

> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 737f24bda723fdf89ecaacb99fa2bf5683c32799:
> 
>   Merge branch 'perf/urgent' into perf/core (2012-03-05 09:20:08 +0100)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo
> 
> for you to fetch changes up to ff2a6617c2acd6a8dc468c90ab8708a6ad112bb0:
> 
>   perf annotate: Add missing newline on error message (2012-03-05 10:15:50 -0300)
> 
> ----------------------------------------------------------------
> Improvements for 'perf annotate' from Namhyung Kim.
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Namhyung Kim (7):
>       perf evlist: Restore original errno after open failed
>       perf tools: Add descriptions of missing Makefile arguments
>       perf annotate: Print asm code as blue when source code is displayed
>       perf annotate: Handle lower case key code in annotate_browser__run()
>       perf annotate: Restore title when came back to original symbol
>       perf annotate: Fix help string on tui
>       perf annotate: Add missing newline on error message
> 
>  tools/perf/Makefile                    |   14 ++++++++++++++
>  tools/perf/util/annotate.c             |    2 +-
>  tools/perf/util/evlist.c               |    1 +
>  tools/perf/util/ui/browsers/annotate.c |   18 ++++++++++++------
>  4 files changed, 28 insertions(+), 7 deletions(-)

Pulled, thanks a lot Arnaldo!

	Ingo

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2012-06-27 19:20 Arnaldo Carvalho de Melo
  2012-06-29 13:12 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-06-27 19:20 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, David Ahern,
	Dmitry Antipov, Frederic Weisbecker, Hitoshi Mitake, Jiri Olsa,
	linaro-dev, Linus Torvalds, Mike Sartain, Namhyung Kim,
	Namhyung Kim, patches, Paul Mackerras, Peter Zijlstra,
	Pierre-Loup A. Griffais, Thomas Gleixner, Tim Chen, arnaldo.melo,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling.

	Tested on RHEL6.2, Fedora 17 x86 and x86_64,

- Arnaldo

The following changes since commit 357398e96d8c883b010379a7669df43ed0e2e32b:

  perf/x86: Fix section mismatch in uncore_pci_init() (2012-06-25 10:32:21 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo

for you to fetch changes up to d9873ab79376d5c0112ed09e14783067dc65e808:

  perf tools: Trivial build fix (2012-06-27 13:32:06 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

. Improve 'perf bench' docs, by Namhyung Kim

. Fix build when O= is not used, from David Ahern

. Fix cross compilation build, from Namhyung Kim

. Fix pipe mode when callchains are used, from David Ahern

. Follow .gnu_debuglink section to find separate symbols, from Pierre-Loup A. Griffais

. Fix 'perf test' raw events entries, from Jiri Olsa

. Use the events description in the perf.data file, not the sysfs ones.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
      perf tools: Stop using a global trace events description list

David Ahern (2):
      perf report: Delay sample_type checks in pipe mode
      perf tools: Trivial build fix

Jiri Olsa (1):
      perf test: Fix parse events test to follow proper raw event name

Namhyung Kim (2):
      perf evsel: Fix a build failure on cross compilation
      perf bench: Documentation update

Pierre-Loup A. Griffais (1):
      perf symbols: Follow .gnu_debuglink section to find separate symbols

 tools/perf/Documentation/perf-bench.txt            |   78 +++++++++++++++-
 tools/perf/Makefile                                |    2 +-
 tools/perf/bench/mem-memcpy.c                      |    4 +-
 tools/perf/bench/mem-memset.c                      |    8 +-
 tools/perf/builtin-bench.c                         |    4 +-
 tools/perf/builtin-kmem.c                          |   37 +++++---
 tools/perf/builtin-lock.c                          |    4 +-
 tools/perf/builtin-report.c                        |    6 +-
 tools/perf/builtin-sched.c                         |   36 +++++---
 tools/perf/builtin-script.c                        |   66 ++++++++-----
 tools/perf/util/evlist.c                           |    4 +-
 tools/perf/util/evlist.h                           |    3 +
 tools/perf/util/evsel.c                            |    1 -
 tools/perf/util/header.c                           |   31 ++++---
 tools/perf/util/parse-events-test.c                |    7 +-
 .../perf/util/scripting-engines/trace-event-perl.c |   28 +++---
 .../util/scripting-engines/trace-event-python.c    |   21 +++--
 tools/perf/util/session.c                          |   56 +++++++++++
 tools/perf/util/session.h                          |   10 ++
 tools/perf/util/symbol.c                           |   65 ++++++++++++-
 tools/perf/util/symbol.h                           |    1 +
 tools/perf/util/trace-event-parse.c                |   58 ++++++------
 tools/perf/util/trace-event-read.c                 |   97 ++++++++++----------
 tools/perf/util/trace-event-scripting.c            |    7 +-
 tools/perf/util/trace-event.h                      |   38 ++++----
 25 files changed, 471 insertions(+), 201 deletions(-)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2012-06-27 19:20 Arnaldo Carvalho de Melo
@ 2012-06-29 13:12 ` Ingo Molnar
  2012-07-02  8:01   ` Dmitry Antipov
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2012-06-29 13:12 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, David Ahern, Dmitry Antipov, Frederic Weisbecker,
	Hitoshi Mitake, Jiri Olsa, linaro-dev, Linus Torvalds,
	Mike Sartain, Namhyung Kim, Namhyung Kim, patches, Paul Mackerras,
	Peter Zijlstra, Pierre-Loup A. Griffais, Thomas Gleixner,
	Tim Chen, arnaldo.melo, Arnaldo Carvalho de Melo


* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:

> Hi Ingo,
> 
> 	Please consider pulling.
> 
> 	Tested on RHEL6.2, Fedora 17 x86 and x86_64,
> 
> - Arnaldo
> 
> The following changes since commit 357398e96d8c883b010379a7669df43ed0e2e32b:
> 
>   perf/x86: Fix section mismatch in uncore_pci_init() (2012-06-25 10:32:21 +0200)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo
> 
> for you to fetch changes up to d9873ab79376d5c0112ed09e14783067dc65e808:
> 
>   perf tools: Trivial build fix (2012-06-27 13:32:06 -0300)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> . Improve 'perf bench' docs, by Namhyung Kim
> 
> . Fix build when O= is not used, from David Ahern
> 
> . Fix cross compilation build, from Namhyung Kim
> 
> . Fix pipe mode when callchains are used, from David Ahern
> 
> . Follow .gnu_debuglink section to find separate symbols, from Pierre-Loup A. Griffais
> 
> . Fix 'perf test' raw events entries, from Jiri Olsa
> 
> . Use the events description in the perf.data file, not the sysfs ones.
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (1):
>       perf tools: Stop using a global trace events description list
> 
> David Ahern (2):
>       perf report: Delay sample_type checks in pipe mode
>       perf tools: Trivial build fix
> 
> Jiri Olsa (1):
>       perf test: Fix parse events test to follow proper raw event name
> 
> Namhyung Kim (2):
>       perf evsel: Fix a build failure on cross compilation
>       perf bench: Documentation update
> 
> Pierre-Loup A. Griffais (1):
>       perf symbols: Follow .gnu_debuglink section to find separate symbols
> 
>  tools/perf/Documentation/perf-bench.txt            |   78 +++++++++++++++-
>  tools/perf/Makefile                                |    2 +-
>  tools/perf/bench/mem-memcpy.c                      |    4 +-
>  tools/perf/bench/mem-memset.c                      |    8 +-
>  tools/perf/builtin-bench.c                         |    4 +-
>  tools/perf/builtin-kmem.c                          |   37 +++++---
>  tools/perf/builtin-lock.c                          |    4 +-
>  tools/perf/builtin-report.c                        |    6 +-
>  tools/perf/builtin-sched.c                         |   36 +++++---
>  tools/perf/builtin-script.c                        |   66 ++++++++-----
>  tools/perf/util/evlist.c                           |    4 +-
>  tools/perf/util/evlist.h                           |    3 +
>  tools/perf/util/evsel.c                            |    1 -
>  tools/perf/util/header.c                           |   31 ++++---
>  tools/perf/util/parse-events-test.c                |    7 +-
>  .../perf/util/scripting-engines/trace-event-perl.c |   28 +++---
>  .../util/scripting-engines/trace-event-python.c    |   21 +++--
>  tools/perf/util/session.c                          |   56 +++++++++++
>  tools/perf/util/session.h                          |   10 ++
>  tools/perf/util/symbol.c                           |   65 ++++++++++++-
>  tools/perf/util/symbol.h                           |    1 +
>  tools/perf/util/trace-event-parse.c                |   58 ++++++------
>  tools/perf/util/trace-event-read.c                 |   97 ++++++++++----------
>  tools/perf/util/trace-event-scripting.c            |    7 +-
>  tools/perf/util/trace-event.h                      |   38 ++++----
>  25 files changed, 471 insertions(+), 201 deletions(-)

Pulled, thanks Arnaldo!

	Ingo

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2012-06-29 13:12 ` Ingo Molnar
@ 2012-07-02  8:01   ` Dmitry Antipov
  0 siblings, 0 replies; 38+ messages in thread
From: Dmitry Antipov @ 2012-07-02  8:01 UTC (permalink / raw)
  To: Ingo Molnar, Arnaldo Carvalho de Melo
  Cc: linux-kernel, David Ahern, Frederic Weisbecker, Hitoshi Mitake,
	Jiri Olsa, linaro-dev, Linus Torvalds, Mike Sartain, Namhyung Kim,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Pierre-Loup A. Griffais, Thomas Gleixner, Tim Chen, arnaldo.melo,
	Arnaldo Carvalho de Melo

On 06/29/2012 05:12 PM, Ingo Molnar wrote:

> Pulled, thanks Arnaldo!

As of ca24a145573124732152daff105ba68cc9a2b545, 'perf sched replay' is still broken
(but 'perf report' works) if perf.data was recorded on another machine. For example,
native replay is:

run measurement overhead: 0 nsecs
sleep measurement overhead: 112071 nsecs
the run test took 1007080 nsecs
the sleep test took 1159668 nsecs
nr_run_events:        141
nr_sleep_events:      147
nr_wakeup_events:     73
target-less wakeups:  25
multi-target wakeups: 2
task      0 (           <unknown>:      4645), nr_events: 4
task      1 (                perf:      4646), nr_events: 190
task      2 (           swapper/1:         0), nr_events: 33
task      3 (         kworker/1:1:        20), nr_events: 126
task      4 (                sshd:      1881), nr_events: 32
task      5 (             kswapd0:       388), nr_events: 3
------------------------------------------------------------
#1  : 29.663, ravg: 29.66, cpu: 54.38 / 54.38
#2  : 28.442, ravg: 29.54, cpu: 53.38 / 54.28
#3  : 28.564, ravg: 29.44, cpu: 54.02 / 54.26
#4  : 28.290, ravg: 29.33, cpu: 53.50 / 54.18
#5  : 29.877, ravg: 29.38, cpu: 53.16 / 54.08
#6  : 32.227, ravg: 29.67, cpu: 53.74 / 54.04
#7  : 27.588, ravg: 29.46, cpu: 52.67 / 53.91
#8  : 30.762, ravg: 29.59, cpu: 53.44 / 53.86
#9  : 28.381, ravg: 29.47, cpu: 53.04 / 53.78
#10 : 28.473, ravg: 29.37, cpu: 53.71 / 53.77

"Cross-replaying" of the same perf.data is:

run measurement overhead: 65 nsecs
sleep measurement overhead: 55825 nsecs
the run test took 1000140 nsecs
the sleep test took 1064293 nsecs
nr_run_events:        0
nr_sleep_events:      0
nr_wakeup_events:     0
------------------------------------------------------------
#1  : 0.007, ravg: 0.01, cpu: 0.00 / 0.00
#2  : 0.001, ravg: 0.01, cpu: 0.00 / 0.00
#3  : 0.001, ravg: 0.01, cpu: 0.00 / 0.00
#4  : 0.001, ravg: 0.01, cpu: 0.00 / 0.00
#5  : 0.001, ravg: 0.01, cpu: 0.00 / 0.00
#6  : 0.001, ravg: 0.00, cpu: 0.00 / 0.00
#7  : 0.001, ravg: 0.00, cpu: 0.00 / 0.00
#8  : 0.001, ravg: 0.00, cpu: 0.00 / 0.00
#9  : 0.001, ravg: 0.00, cpu: 0.00 / 0.00
#10 : 0.001, ravg: 0.00, cpu: 0.00 / 0.00

Dmitry

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2013-11-07 15:04 Arnaldo Carvalho de Melo
  2013-11-07 15:26 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2013-11-07 15:04 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	David Ahern, Frederic Weisbecker, Jiri Olsa, Mike Galbraith,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra, Rodrigo Campos,
	Stephane Eranian, Arnaldo Carvalho de Melo

From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 8a4d0b56b031455adcbe4a9383c3b497456fcfac:

  Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/core (2013-11-07 08:46:13 +0100)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo

for you to fetch changes up to 8ce000e83848578a621d64eccdc88bd34c2fc70c:

  perf tools: Remove unneeded include (2013-11-07 11:51:19 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

. Fix version when building out of tree, as when using one of these:

  $ make help | grep perf
    perf-tar-src-pkg    - Build perf-3.12.0.tar source tarball
    perf-targz-src-pkg  - Build perf-3.12.0.tar.gz source tarball
    perf-tarbz2-src-pkg - Build perf-3.12.0.tar.bz2 source tarball
    perf-tarxz-src-pkg  - Build perf-3.12.0.tar.xz source tarball
  $

  from David Ahern.

. Don't relookup fields by name in each sample in 'trace'.

. 'perf record' code cleanups, from David Ahern.

. Remove unneeded include in sort.h, from Rodrigo Campos.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
      perf evsel: Ditch evsel->handler.data field
      perf trace: Don't relookup fields by name in each sample

David Ahern (4):
      perf tools: Fix version when building out of tree
      perf record: Refactor feature handling into a separate function
      perf record: Remove advance_output function
      perf record: Remove post_processing_offset variable

Rodrigo Campos (1):
      perf tools: Remove unneeded include

 scripts/package/Makefile         |   4 +-
 tools/perf/builtin-inject.c      |  10 +-
 tools/perf/builtin-kmem.c        |   4 +-
 tools/perf/builtin-lock.c        |   4 +-
 tools/perf/builtin-record.c      |  48 ++++-----
 tools/perf/builtin-sched.c       |   4 +-
 tools/perf/builtin-timechart.c   |   4 +-
 tools/perf/builtin-trace.c       | 205 ++++++++++++++++++++++++++++++++++++---
 tools/perf/util/PERF-VERSION-GEN |   3 +
 tools/perf/util/evlist.c         |   2 +-
 tools/perf/util/evsel.h          |   5 +-
 tools/perf/util/session.c        |   4 +-
 tools/perf/util/sort.h           |   1 -
 13 files changed, 239 insertions(+), 59 deletions(-)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2013-11-07 15:04 Arnaldo Carvalho de Melo
@ 2013-11-07 15:26 ` Ingo Molnar
  0 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2013-11-07 15:26 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	David Ahern, Frederic Weisbecker, Jiri Olsa, Mike Galbraith,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra, Rodrigo Campos,
	Stephane Eranian, Arnaldo Carvalho de Melo


* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:

> From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
> 
> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 8a4d0b56b031455adcbe4a9383c3b497456fcfac:
> 
>   Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/core (2013-11-07 08:46:13 +0100)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo
> 
> for you to fetch changes up to 8ce000e83848578a621d64eccdc88bd34c2fc70c:
> 
>   perf tools: Remove unneeded include (2013-11-07 11:51:19 -0300)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> . Fix version when building out of tree, as when using one of these:
> 
>   $ make help | grep perf
>     perf-tar-src-pkg    - Build perf-3.12.0.tar source tarball
>     perf-targz-src-pkg  - Build perf-3.12.0.tar.gz source tarball
>     perf-tarbz2-src-pkg - Build perf-3.12.0.tar.bz2 source tarball
>     perf-tarxz-src-pkg  - Build perf-3.12.0.tar.xz source tarball
>   $
> 
>   from David Ahern.
> 
> . Don't relookup fields by name in each sample in 'trace'.
> 
> . 'perf record' code cleanups, from David Ahern.
> 
> . Remove unneeded include in sort.h, from Rodrigo Campos.
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (2):
>       perf evsel: Ditch evsel->handler.data field
>       perf trace: Don't relookup fields by name in each sample
> 
> David Ahern (4):
>       perf tools: Fix version when building out of tree
>       perf record: Refactor feature handling into a separate function
>       perf record: Remove advance_output function
>       perf record: Remove post_processing_offset variable
> 
> Rodrigo Campos (1):
>       perf tools: Remove unneeded include
> 
>  scripts/package/Makefile         |   4 +-
>  tools/perf/builtin-inject.c      |  10 +-
>  tools/perf/builtin-kmem.c        |   4 +-
>  tools/perf/builtin-lock.c        |   4 +-
>  tools/perf/builtin-record.c      |  48 ++++-----
>  tools/perf/builtin-sched.c       |   4 +-
>  tools/perf/builtin-timechart.c   |   4 +-
>  tools/perf/builtin-trace.c       | 205 ++++++++++++++++++++++++++++++++++++---
>  tools/perf/util/PERF-VERSION-GEN |   3 +
>  tools/perf/util/evlist.c         |   2 +-
>  tools/perf/util/evsel.h          |   5 +-
>  tools/perf/util/session.c        |   4 +-
>  tools/perf/util/sort.h           |   1 -
>  13 files changed, 239 insertions(+), 59 deletions(-)

Pulled, thanks a lot Arnaldo!

	Ingo

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

* [GIT PULL  0/7] perf/core improvements and fixes
@ 2014-04-28 11:59 Jiri Olsa
  2014-04-28 11:59 ` [PATCH 1/7] perf tests: Factor out fake_setup_machine() Jiri Olsa
                   ` (7 more replies)
  0 siblings, 8 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 11:59 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Adrian Hunter, Arnaldo Carvalho de Melo,
	Corey Ashford, David Ahern, Don Zickus, Frederic Weisbecker,
	Jiri Olsa, Mike Galbraith, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra, Stephane Eranian

hi Ingo,
please consider pulling

thanks,
jirka


The following changes since commit 2933d7813d8618f18632a7dc7f4e7f1f7d17383a:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-04-25 10:04:46 +0200)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git tags/perf-core-for-mingo

for you to fetch changes up to fabf01238289e9ae009499594fc54642f5802a24:

  perf tests: Add map groups sharing with thread object test (2014-04-28 13:43:40 +0200)

----------------------------------------------------------------
perf/core improvements and fixes:

. Add a test case for hists filtering (Namhyung Kim)

. Share map_groups among threads of the same group (Arnaldo Carvalho de Melo, Jiri Olsa)

Signed-off-by: Jiri Olsa <jolsa@kernel.org>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
      perf tools: Allocate thread map_groups's dynamically
      perf tools: Reference count map_groups objects

Jiri Olsa (3):
      perf tests: Add thread maps lookup automated tests
      perf tools: Share map_groups among threads of the same group
      perf tests: Add map groups sharing with thread object test

Namhyung Kim (2):
      perf tests: Factor out fake_setup_machine()
      perf tests: Add a test case for hists filtering

 tools/perf/Makefile.perf                 |   4 +
 tools/perf/arch/x86/tests/dwarf-unwind.c |   2 +-
 tools/perf/perf.h                        |   6 +
 tools/perf/tests/builtin-test.c          |  12 ++
 tools/perf/tests/hists_common.c          | 148 +++++++++++++++
 tools/perf/tests/hists_common.h          |  44 +++++
 tools/perf/tests/hists_filter.c          | 315 +++++++++++++++++++++++++++++++
 tools/perf/tests/hists_link.c            | 141 +-------------
 tools/perf/tests/mmap-thread-lookup.c    | 233 +++++++++++++++++++++++
 tools/perf/tests/tests.h                 |   3 +
 tools/perf/tests/thread-mg-share.c       |  90 +++++++++
 tools/perf/ui/stdio/hist.c               |   2 +-
 tools/perf/util/event.c                  |   2 +-
 tools/perf/util/machine.c                |  11 ++
 tools/perf/util/map.c                    |  23 +++
 tools/perf/util/map.h                    |  12 ++
 tools/perf/util/thread.c                 |  52 +++--
 tools/perf/util/thread.h                 |   3 +-
 18 files changed, 948 insertions(+), 155 deletions(-)
 create mode 100644 tools/perf/tests/hists_common.c
 create mode 100644 tools/perf/tests/hists_common.h
 create mode 100644 tools/perf/tests/hists_filter.c
 create mode 100644 tools/perf/tests/mmap-thread-lookup.c
 create mode 100644 tools/perf/tests/thread-mg-share.c

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

* [PATCH 1/7] perf tests: Factor out fake_setup_machine()
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
@ 2014-04-28 11:59 ` Jiri Olsa
  2014-04-28 12:00 ` [PATCH 2/7] perf tests: Add a test case for hists filtering Jiri Olsa
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 11:59 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, Namhyung Kim, Jiri Olsa

From: Namhyung Kim <namhyung@kernel.org>

The fake_setup_machine() is for setting up a environment for testing
various hists operations. As it'll be used for other test cases it'd
better factoring it out.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398396494-12811-1-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/Makefile.perf        |   1 +
 tools/perf/tests/hists_common.c | 148 ++++++++++++++++++++++++++++++++++++++++
 tools/perf/tests/hists_common.h |  44 ++++++++++++
 tools/perf/tests/hists_link.c   | 141 +-------------------------------------
 4 files changed, 195 insertions(+), 139 deletions(-)
 create mode 100644 tools/perf/tests/hists_common.c
 create mode 100644 tools/perf/tests/hists_common.h

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index e969233..a4aad78 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -397,6 +397,7 @@ LIB_OBJS += $(OUTPUT)tests/rdpmc.o
 LIB_OBJS += $(OUTPUT)tests/evsel-roundtrip-name.o
 LIB_OBJS += $(OUTPUT)tests/evsel-tp-sched.o
 LIB_OBJS += $(OUTPUT)tests/pmu.o
+LIB_OBJS += $(OUTPUT)tests/hists_common.o
 LIB_OBJS += $(OUTPUT)tests/hists_link.o
 LIB_OBJS += $(OUTPUT)tests/python-use.o
 LIB_OBJS += $(OUTPUT)tests/bp_signal.o
diff --git a/tools/perf/tests/hists_common.c b/tools/perf/tests/hists_common.c
new file mode 100644
index 0000000..44655b3
--- /dev/null
+++ b/tools/perf/tests/hists_common.c
@@ -0,0 +1,148 @@
+#include "perf.h"
+#include "util/debug.h"
+#include "util/symbol.h"
+#include "util/sort.h"
+#include "util/evsel.h"
+#include "util/evlist.h"
+#include "util/machine.h"
+#include "util/thread.h"
+#include "tests/hists_common.h"
+
+static struct {
+	u32 pid;
+	const char *comm;
+} fake_threads[] = {
+	{ 100, "perf" },
+	{ 200, "perf" },
+	{ 300, "bash" },
+};
+
+static struct {
+	u32 pid;
+	u64 start;
+	const char *filename;
+} fake_mmap_info[] = {
+	{ 100, 0x40000, "perf" },
+	{ 100, 0x50000, "libc" },
+	{ 100, 0xf0000, "[kernel]" },
+	{ 200, 0x40000, "perf" },
+	{ 200, 0x50000, "libc" },
+	{ 200, 0xf0000, "[kernel]" },
+	{ 300, 0x40000, "bash" },
+	{ 300, 0x50000, "libc" },
+	{ 300, 0xf0000, "[kernel]" },
+};
+
+struct fake_sym {
+	u64 start;
+	u64 length;
+	const char *name;
+};
+
+static struct fake_sym perf_syms[] = {
+	{ 700, 100, "main" },
+	{ 800, 100, "run_command" },
+	{ 900, 100, "cmd_record" },
+};
+
+static struct fake_sym bash_syms[] = {
+	{ 700, 100, "main" },
+	{ 800, 100, "xmalloc" },
+	{ 900, 100, "xfree" },
+};
+
+static struct fake_sym libc_syms[] = {
+	{ 700, 100, "malloc" },
+	{ 800, 100, "free" },
+	{ 900, 100, "realloc" },
+};
+
+static struct fake_sym kernel_syms[] = {
+	{ 700, 100, "schedule" },
+	{ 800, 100, "page_fault" },
+	{ 900, 100, "sys_perf_event_open" },
+};
+
+static struct {
+	const char *dso_name;
+	struct fake_sym *syms;
+	size_t nr_syms;
+} fake_symbols[] = {
+	{ "perf", perf_syms, ARRAY_SIZE(perf_syms) },
+	{ "bash", bash_syms, ARRAY_SIZE(bash_syms) },
+	{ "libc", libc_syms, ARRAY_SIZE(libc_syms) },
+	{ "[kernel]", kernel_syms, ARRAY_SIZE(kernel_syms) },
+};
+
+struct machine *setup_fake_machine(struct machines *machines)
+{
+	struct machine *machine = machines__find(machines, HOST_KERNEL_ID);
+	size_t i;
+
+	if (machine == NULL) {
+		pr_debug("Not enough memory for machine setup\n");
+		return NULL;
+	}
+
+	for (i = 0; i < ARRAY_SIZE(fake_threads); i++) {
+		struct thread *thread;
+
+		thread = machine__findnew_thread(machine, fake_threads[i].pid,
+						 fake_threads[i].pid);
+		if (thread == NULL)
+			goto out;
+
+		thread__set_comm(thread, fake_threads[i].comm, 0);
+	}
+
+	for (i = 0; i < ARRAY_SIZE(fake_mmap_info); i++) {
+		union perf_event fake_mmap_event = {
+			.mmap = {
+				.header = { .misc = PERF_RECORD_MISC_USER, },
+				.pid = fake_mmap_info[i].pid,
+				.tid = fake_mmap_info[i].pid,
+				.start = fake_mmap_info[i].start,
+				.len = 0x1000ULL,
+				.pgoff = 0ULL,
+			},
+		};
+
+		strcpy(fake_mmap_event.mmap.filename,
+		       fake_mmap_info[i].filename);
+
+		machine__process_mmap_event(machine, &fake_mmap_event, NULL);
+	}
+
+	for (i = 0; i < ARRAY_SIZE(fake_symbols); i++) {
+		size_t k;
+		struct dso *dso;
+
+		dso = __dsos__findnew(&machine->user_dsos,
+				      fake_symbols[i].dso_name);
+		if (dso == NULL)
+			goto out;
+
+		/* emulate dso__load() */
+		dso__set_loaded(dso, MAP__FUNCTION);
+
+		for (k = 0; k < fake_symbols[i].nr_syms; k++) {
+			struct symbol *sym;
+			struct fake_sym *fsym = &fake_symbols[i].syms[k];
+
+			sym = symbol__new(fsym->start, fsym->length,
+					  STB_GLOBAL, fsym->name);
+			if (sym == NULL)
+				goto out;
+
+			symbols__insert(&dso->symbols[MAP__FUNCTION], sym);
+		}
+	}
+
+	return machine;
+
+out:
+	pr_debug("Not enough memory for machine setup\n");
+	machine__delete_threads(machine);
+	machine__delete(machine);
+	return NULL;
+}
diff --git a/tools/perf/tests/hists_common.h b/tools/perf/tests/hists_common.h
new file mode 100644
index 0000000..2528b8f
--- /dev/null
+++ b/tools/perf/tests/hists_common.h
@@ -0,0 +1,44 @@
+#ifndef __PERF_TESTS__HISTS_COMMON_H__
+#define __PERF_TESTS__HISTS_COMMON_H__
+
+struct machine;
+struct machines;
+
+/*
+ * The setup_fake_machine() provides a test environment which consists
+ * of 3 processes that have 3 mappings and in turn, have 3 symbols
+ * respectively.  See below table:
+ *
+ * Command:  Pid  Shared Object               Symbol
+ * .............  .............  ...................
+ *    perf:  100           perf  main
+ *    perf:  100           perf  run_command
+ *    perf:  100           perf  comd_record
+ *    perf:  100           libc  malloc
+ *    perf:  100           libc  free
+ *    perf:  100           libc  realloc
+ *    perf:  100       [kernel]  schedule
+ *    perf:  100       [kernel]  page_fault
+ *    perf:  100       [kernel]  sys_perf_event_open
+ *    perf:  200           perf  main
+ *    perf:  200           perf  run_command
+ *    perf:  200           perf  comd_record
+ *    perf:  200           libc  malloc
+ *    perf:  200           libc  free
+ *    perf:  200           libc  realloc
+ *    perf:  200       [kernel]  schedule
+ *    perf:  200       [kernel]  page_fault
+ *    perf:  200       [kernel]  sys_perf_event_open
+ *    bash:  300           bash  main
+ *    bash:  300           bash  xmalloc
+ *    bash:  300           bash  xfree
+ *    bash:  300           libc  malloc
+ *    bash:  300           libc  free
+ *    bash:  300           libc  realloc
+ *    bash:  300       [kernel]  schedule
+ *    bash:  300       [kernel]  page_fault
+ *    bash:  300       [kernel]  sys_perf_event_open
+ */
+struct machine *setup_fake_machine(struct machines *machines);
+
+#endif /* __PERF_TESTS__HISTS_COMMON_H__ */
diff --git a/tools/perf/tests/hists_link.c b/tools/perf/tests/hists_link.c
index 7ccbc7b..e42d679 100644
--- a/tools/perf/tests/hists_link.c
+++ b/tools/perf/tests/hists_link.c
@@ -8,145 +8,7 @@
 #include "machine.h"
 #include "thread.h"
 #include "parse-events.h"
-
-static struct {
-	u32 pid;
-	const char *comm;
-} fake_threads[] = {
-	{ 100, "perf" },
-	{ 200, "perf" },
-	{ 300, "bash" },
-};
-
-static struct {
-	u32 pid;
-	u64 start;
-	const char *filename;
-} fake_mmap_info[] = {
-	{ 100, 0x40000, "perf" },
-	{ 100, 0x50000, "libc" },
-	{ 100, 0xf0000, "[kernel]" },
-	{ 200, 0x40000, "perf" },
-	{ 200, 0x50000, "libc" },
-	{ 200, 0xf0000, "[kernel]" },
-	{ 300, 0x40000, "bash" },
-	{ 300, 0x50000, "libc" },
-	{ 300, 0xf0000, "[kernel]" },
-};
-
-struct fake_sym {
-	u64 start;
-	u64 length;
-	const char *name;
-};
-
-static struct fake_sym perf_syms[] = {
-	{ 700, 100, "main" },
-	{ 800, 100, "run_command" },
-	{ 900, 100, "cmd_record" },
-};
-
-static struct fake_sym bash_syms[] = {
-	{ 700, 100, "main" },
-	{ 800, 100, "xmalloc" },
-	{ 900, 100, "xfree" },
-};
-
-static struct fake_sym libc_syms[] = {
-	{ 700, 100, "malloc" },
-	{ 800, 100, "free" },
-	{ 900, 100, "realloc" },
-};
-
-static struct fake_sym kernel_syms[] = {
-	{ 700, 100, "schedule" },
-	{ 800, 100, "page_fault" },
-	{ 900, 100, "sys_perf_event_open" },
-};
-
-static struct {
-	const char *dso_name;
-	struct fake_sym *syms;
-	size_t nr_syms;
-} fake_symbols[] = {
-	{ "perf", perf_syms, ARRAY_SIZE(perf_syms) },
-	{ "bash", bash_syms, ARRAY_SIZE(bash_syms) },
-	{ "libc", libc_syms, ARRAY_SIZE(libc_syms) },
-	{ "[kernel]", kernel_syms, ARRAY_SIZE(kernel_syms) },
-};
-
-static struct machine *setup_fake_machine(struct machines *machines)
-{
-	struct machine *machine = machines__find(machines, HOST_KERNEL_ID);
-	size_t i;
-
-	if (machine == NULL) {
-		pr_debug("Not enough memory for machine setup\n");
-		return NULL;
-	}
-
-	for (i = 0; i < ARRAY_SIZE(fake_threads); i++) {
-		struct thread *thread;
-
-		thread = machine__findnew_thread(machine, fake_threads[i].pid,
-						 fake_threads[i].pid);
-		if (thread == NULL)
-			goto out;
-
-		thread__set_comm(thread, fake_threads[i].comm, 0);
-	}
-
-	for (i = 0; i < ARRAY_SIZE(fake_mmap_info); i++) {
-		union perf_event fake_mmap_event = {
-			.mmap = {
-				.header = { .misc = PERF_RECORD_MISC_USER, },
-				.pid = fake_mmap_info[i].pid,
-				.tid = fake_mmap_info[i].pid,
-				.start = fake_mmap_info[i].start,
-				.len = 0x1000ULL,
-				.pgoff = 0ULL,
-			},
-		};
-
-		strcpy(fake_mmap_event.mmap.filename,
-		       fake_mmap_info[i].filename);
-
-		machine__process_mmap_event(machine, &fake_mmap_event, NULL);
-	}
-
-	for (i = 0; i < ARRAY_SIZE(fake_symbols); i++) {
-		size_t k;
-		struct dso *dso;
-
-		dso = __dsos__findnew(&machine->user_dsos,
-				      fake_symbols[i].dso_name);
-		if (dso == NULL)
-			goto out;
-
-		/* emulate dso__load() */
-		dso__set_loaded(dso, MAP__FUNCTION);
-
-		for (k = 0; k < fake_symbols[i].nr_syms; k++) {
-			struct symbol *sym;
-			struct fake_sym *fsym = &fake_symbols[i].syms[k];
-
-			sym = symbol__new(fsym->start, fsym->length,
-					  STB_GLOBAL, fsym->name);
-			if (sym == NULL)
-				goto out;
-
-			symbols__insert(&dso->symbols[MAP__FUNCTION], sym);
-		}
-	}
-
-	return machine;
-
-out:
-	pr_debug("Not enough memory for machine setup\n");
-	machine__delete_threads(machine);
-	machine__delete(machine);
-	return NULL;
-}
+#include "hists_common.h"
 
 struct sample {
 	u32 pid;
@@ -156,6 +18,7 @@ struct sample {
 	struct symbol *sym;
 };
 
+/* For the numbers, see hists_common.c */
 static struct sample fake_common_samples[] = {
 	/* perf [kernel] schedule() */
 	{ .pid = 100, .ip = 0xf0000 + 700, },
-- 
1.8.3.1


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

* [PATCH 2/7] perf tests: Add a test case for hists filtering
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
  2014-04-28 11:59 ` [PATCH 1/7] perf tests: Factor out fake_setup_machine() Jiri Olsa
@ 2014-04-28 12:00 ` Jiri Olsa
  2014-04-28 12:00 ` [PATCH 3/7] perf tests: Add thread maps lookup automated tests Jiri Olsa
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 12:00 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, Namhyung Kim, Jiri Olsa

From: Namhyung Kim <namhyung@kernel.org>

Now we have changed how hists stats are accounted especially when
filter(s) applied.  So add a test case to verify it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398396494-12811-2-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/Makefile.perf        |   1 +
 tools/perf/tests/builtin-test.c |   4 +
 tools/perf/tests/hists_filter.c | 315 ++++++++++++++++++++++++++++++++++++++++
 tools/perf/tests/tests.h        |   1 +
 4 files changed, 321 insertions(+)
 create mode 100644 tools/perf/tests/hists_filter.c

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index a4aad78..0807e4c 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -399,6 +399,7 @@ LIB_OBJS += $(OUTPUT)tests/evsel-tp-sched.o
 LIB_OBJS += $(OUTPUT)tests/pmu.o
 LIB_OBJS += $(OUTPUT)tests/hists_common.o
 LIB_OBJS += $(OUTPUT)tests/hists_link.o
+LIB_OBJS += $(OUTPUT)tests/hists_filter.o
 LIB_OBJS += $(OUTPUT)tests/python-use.o
 LIB_OBJS += $(OUTPUT)tests/bp_signal.o
 LIB_OBJS += $(OUTPUT)tests/bp_signal_overflow.o
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index b11bf8a..ceb9dae 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -124,6 +124,10 @@ static struct test {
 #endif
 #endif
 	{
+		.desc = "Test filtering hist entries",
+		.func = test__hists_filter,
+	},
+	{
 		.func = NULL,
 	},
 };
diff --git a/tools/perf/tests/hists_filter.c b/tools/perf/tests/hists_filter.c
new file mode 100644
index 0000000..23dc2f4
--- /dev/null
+++ b/tools/perf/tests/hists_filter.c
@@ -0,0 +1,315 @@
+#include "perf.h"
+#include "util/debug.h"
+#include "util/symbol.h"
+#include "util/sort.h"
+#include "util/evsel.h"
+#include "util/evlist.h"
+#include "util/machine.h"
+#include "util/thread.h"
+#include "util/parse-events.h"
+#include "tests/tests.h"
+#include "tests/hists_common.h"
+
+struct sample {
+	u32 pid;
+	u64 ip;
+	struct thread *thread;
+	struct map *map;
+	struct symbol *sym;
+};
+
+/* For the numbers, see hists_common.c */
+static struct sample fake_samples[] = {
+	/* perf [kernel] schedule() */
+	{ .pid = 100, .ip = 0xf0000 + 700, },
+	/* perf [perf]   main() */
+	{ .pid = 100, .ip = 0x40000 + 700, },
+	/* perf [libc]   malloc() */
+	{ .pid = 100, .ip = 0x50000 + 700, },
+	/* perf [perf]   main() */
+	{ .pid = 200, .ip = 0x40000 + 700, }, /* will be merged */
+	/* perf [perf]   cmd_record() */
+	{ .pid = 200, .ip = 0x40000 + 900, },
+	/* perf [kernel] page_fault() */
+	{ .pid = 200, .ip = 0xf0000 + 800, },
+	/* bash [bash]   main() */
+	{ .pid = 300, .ip = 0x40000 + 700, },
+	/* bash [bash]   xmalloc() */
+	{ .pid = 300, .ip = 0x40000 + 800, },
+	/* bash [libc]   malloc() */
+	{ .pid = 300, .ip = 0x50000 + 700, },
+	/* bash [kernel] page_fault() */
+	{ .pid = 300, .ip = 0xf0000 + 800, },
+};
+
+static int add_hist_entries(struct perf_evlist *evlist, struct machine *machine)
+{
+	struct perf_evsel *evsel;
+	struct addr_location al;
+	struct hist_entry *he;
+	struct perf_sample sample = { .cpu = 0, };
+	size_t i;
+
+	/*
+	 * each evsel will have 10 samples but the 4th sample
+	 * (perf [perf] main) will be collapsed to an existing entry
+	 * so total 9 entries will be in the tree.
+	 */
+	evlist__for_each(evlist, evsel) {
+		for (i = 0; i < ARRAY_SIZE(fake_samples); i++) {
+			const union perf_event event = {
+				.header = {
+					.misc = PERF_RECORD_MISC_USER,
+				},
+			};
+
+			/* make sure it has no filter at first */
+			evsel->hists.thread_filter = NULL;
+			evsel->hists.dso_filter = NULL;
+			evsel->hists.symbol_filter_str = NULL;
+
+			sample.pid = fake_samples[i].pid;
+			sample.ip = fake_samples[i].ip;
+
+			if (perf_event__preprocess_sample(&event, machine, &al,
+							  &sample) < 0)
+				goto out;
+
+			he = __hists__add_entry(&evsel->hists, &al, NULL,
+						NULL, NULL, 100, 1, 0);
+			if (he == NULL)
+				goto out;
+
+			fake_samples[i].thread = al.thread;
+			fake_samples[i].map = al.map;
+			fake_samples[i].sym = al.sym;
+
+			hists__inc_nr_events(he->hists, PERF_RECORD_SAMPLE);
+			if (!he->filtered)
+				he->hists->stats.nr_non_filtered_samples++;
+		}
+	}
+
+	return 0;
+
+out:
+	pr_debug("Not enough memory for adding a hist entry\n");
+	return TEST_FAIL;
+}
+
+static void print_hists(struct hists *hists)
+{
+	int i = 0;
+	struct rb_root *root;
+	struct rb_node *node;
+
+	root = &hists->entries;
+
+	pr_info("----- %s --------\n", __func__);
+	node = rb_first(root);
+	while (node) {
+		struct hist_entry *he;
+
+		he = rb_entry(node, struct hist_entry, rb_node);
+
+		if (!he->filtered) {
+			pr_info("%2d: entry: %-8s [%-8s] %20s: period = %"PRIu64"\n",
+				i, thread__comm_str(he->thread),
+				he->ms.map->dso->short_name,
+				he->ms.sym->name, he->stat.period);
+		}
+
+		i++;
+		node = rb_next(node);
+	}
+}
+
+int test__hists_filter(void)
+{
+	int err = TEST_FAIL;
+	struct machines machines;
+	struct machine *machine;
+	struct perf_evsel *evsel;
+	struct perf_evlist *evlist = perf_evlist__new();
+
+	TEST_ASSERT_VAL("No memory", evlist);
+
+	err = parse_events(evlist, "cpu-clock");
+	if (err)
+		goto out;
+	err = parse_events(evlist, "task-clock");
+	if (err)
+		goto out;
+
+	/* default sort order (comm,dso,sym) will be used */
+	if (setup_sorting() < 0)
+		goto out;
+
+	machines__init(&machines);
+
+	/* setup threads/dso/map/symbols also */
+	machine = setup_fake_machine(&machines);
+	if (!machine)
+		goto out;
+
+	if (verbose > 1)
+		machine__fprintf(machine, stderr);
+
+	/* process sample events */
+	err = add_hist_entries(evlist, machine);
+	if (err < 0)
+		goto out;
+
+	evlist__for_each(evlist, evsel) {
+		struct hists *hists = &evsel->hists;
+
+		hists__collapse_resort(hists, NULL);
+		hists__output_resort(hists);
+
+		if (verbose > 2) {
+			pr_info("Normal histogram\n");
+			print_hists(hists);
+		}
+
+		TEST_ASSERT_VAL("Invalid nr samples",
+				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);
+		TEST_ASSERT_VAL("Invalid nr hist entries",
+				hists->nr_entries == 9);
+		TEST_ASSERT_VAL("Invalid total period",
+				hists->stats.total_period == 1000);
+		TEST_ASSERT_VAL("Unmatched nr samples",
+				hists->stats.nr_events[PERF_RECORD_SAMPLE] ==
+				hists->stats.nr_non_filtered_samples);
+		TEST_ASSERT_VAL("Unmatched nr hist entries",
+				hists->nr_entries == hists->nr_non_filtered_entries);
+		TEST_ASSERT_VAL("Unmatched total period",
+				hists->stats.total_period ==
+				hists->stats.total_non_filtered_period);
+
+		/* now applying thread filter for 'bash' */
+		evsel->hists.thread_filter = fake_samples[9].thread;
+		hists__filter_by_thread(hists);
+
+		if (verbose > 2) {
+			pr_info("Histogram for thread filter\n");
+			print_hists(hists);
+		}
+
+		/* normal stats should be invariant */
+		TEST_ASSERT_VAL("Invalid nr samples",
+				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);
+		TEST_ASSERT_VAL("Invalid nr hist entries",
+				hists->nr_entries == 9);
+		TEST_ASSERT_VAL("Invalid total period",
+				hists->stats.total_period == 1000);
+
+		/* but filter stats are changed */
+		TEST_ASSERT_VAL("Unmatched nr samples for thread filter",
+				hists->stats.nr_non_filtered_samples == 4);
+		TEST_ASSERT_VAL("Unmatched nr hist entries for thread filter",
+				hists->nr_non_filtered_entries == 4);
+		TEST_ASSERT_VAL("Unmatched total period for thread filter",
+				hists->stats.total_non_filtered_period == 400);
+
+		/* remove thread filter first */
+		evsel->hists.thread_filter = NULL;
+		hists__filter_by_thread(hists);
+
+		/* now applying dso filter for 'kernel' */
+		evsel->hists.dso_filter = fake_samples[0].map->dso;
+		hists__filter_by_dso(hists);
+
+		if (verbose > 2) {
+			pr_info("Histogram for dso filter\n");
+			print_hists(hists);
+		}
+
+		/* normal stats should be invariant */
+		TEST_ASSERT_VAL("Invalid nr samples",
+				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);
+		TEST_ASSERT_VAL("Invalid nr hist entries",
+				hists->nr_entries == 9);
+		TEST_ASSERT_VAL("Invalid total period",
+				hists->stats.total_period == 1000);
+
+		/* but filter stats are changed */
+		TEST_ASSERT_VAL("Unmatched nr samples for dso filter",
+				hists->stats.nr_non_filtered_samples == 3);
+		TEST_ASSERT_VAL("Unmatched nr hist entries for dso filter",
+				hists->nr_non_filtered_entries == 3);
+		TEST_ASSERT_VAL("Unmatched total period for dso filter",
+				hists->stats.total_non_filtered_period == 300);
+
+		/* remove dso filter first */
+		evsel->hists.dso_filter = NULL;
+		hists__filter_by_dso(hists);
+
+		/*
+		 * now applying symbol filter for 'main'.  Also note that
+		 * there's 3 samples that have 'main' symbol but the 4th
+		 * entry of fake_samples was collapsed already so it won't
+		 * be counted as a separate entry but the sample count and
+		 * total period will be remained.
+		 */
+		evsel->hists.symbol_filter_str = "main";
+		hists__filter_by_symbol(hists);
+
+		if (verbose > 2) {
+			pr_info("Histogram for symbol filter\n");
+			print_hists(hists);
+		}
+
+		/* normal stats should be invariant */
+		TEST_ASSERT_VAL("Invalid nr samples",
+				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);
+		TEST_ASSERT_VAL("Invalid nr hist entries",
+				hists->nr_entries == 9);
+		TEST_ASSERT_VAL("Invalid total period",
+				hists->stats.total_period == 1000);
+
+		/* but filter stats are changed */
+		TEST_ASSERT_VAL("Unmatched nr samples for symbol filter",
+				hists->stats.nr_non_filtered_samples == 3);
+		TEST_ASSERT_VAL("Unmatched nr hist entries for symbol filter",
+				hists->nr_non_filtered_entries == 2);
+		TEST_ASSERT_VAL("Unmatched total period for symbol filter",
+				hists->stats.total_non_filtered_period == 300);
+
+		/* now applying all filters at once. */
+		evsel->hists.thread_filter = fake_samples[1].thread;
+		evsel->hists.dso_filter = fake_samples[1].map->dso;
+		hists__filter_by_thread(hists);
+		hists__filter_by_dso(hists);
+
+		if (verbose > 2) {
+			pr_info("Histogram for all filters\n");
+			print_hists(hists);
+		}
+
+		/* normal stats should be invariant */
+		TEST_ASSERT_VAL("Invalid nr samples",
+				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);
+		TEST_ASSERT_VAL("Invalid nr hist entries",
+				hists->nr_entries == 9);
+		TEST_ASSERT_VAL("Invalid total period",
+				hists->stats.total_period == 1000);
+
+		/* but filter stats are changed */
+		TEST_ASSERT_VAL("Unmatched nr samples for all filter",
+				hists->stats.nr_non_filtered_samples == 2);
+		TEST_ASSERT_VAL("Unmatched nr hist entries for all filter",
+				hists->nr_non_filtered_entries == 1);
+		TEST_ASSERT_VAL("Unmatched total period for all filter",
+				hists->stats.total_non_filtered_period == 200);
+	}
+
+
+	err = TEST_OK;
+
+out:
+	/* tear down everything */
+	perf_evlist__delete(evlist);
+	machines__exit(&machines);
+
+	return err;
+}
diff --git a/tools/perf/tests/tests.h b/tools/perf/tests/tests.h
index a24795c..fe39163 100644
--- a/tools/perf/tests/tests.h
+++ b/tools/perf/tests/tests.h
@@ -41,6 +41,7 @@ int test__sample_parsing(void);
 int test__keep_tracking(void);
 int test__parse_no_sample_id_all(void);
 int test__dwarf_unwind(void);
+int test__hists_filter(void);
 
 #if defined(__x86_64__) || defined(__i386__)
 #ifdef HAVE_DWARF_UNWIND_SUPPORT
-- 
1.8.3.1


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

* [PATCH 3/7] perf tests: Add thread maps lookup automated tests
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
  2014-04-28 11:59 ` [PATCH 1/7] perf tests: Factor out fake_setup_machine() Jiri Olsa
  2014-04-28 12:00 ` [PATCH 2/7] perf tests: Add a test case for hists filtering Jiri Olsa
@ 2014-04-28 12:00 ` Jiri Olsa
  2014-04-28 12:00 ` [PATCH 4/7] perf tools: Allocate thread map_groups's dynamically Jiri Olsa
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 12:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Jiri Olsa, Adrian Hunter, Arnaldo Carvalho de Melo,
	Corey Ashford, David Ahern, Don Zickus, Frederic Weisbecker,
	Mike Galbraith, Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Stephane Eranian

Adding automated test for memory maps lookup within multiple machines
threads.

The test creates 4 threads and separated memory maps. It checks that we
could use thread__find_addr_map function with thread object based on TID
to find memory maps.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-2-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/Makefile.perf              |   1 +
 tools/perf/perf.h                     |   6 +
 tools/perf/tests/builtin-test.c       |   4 +
 tools/perf/tests/mmap-thread-lookup.c | 233 ++++++++++++++++++++++++++++++++++
 tools/perf/tests/tests.h              |   1 +
 5 files changed, 245 insertions(+)
 create mode 100644 tools/perf/tests/mmap-thread-lookup.c

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 0807e4c..16d4f4e 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -416,6 +416,7 @@ ifeq ($(ARCH),x86)
 LIB_OBJS += $(OUTPUT)tests/dwarf-unwind.o
 endif
 endif
+LIB_OBJS += $(OUTPUT)tests/mmap-thread-lookup.o
 
 BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o
 BUILTIN_OBJS += $(OUTPUT)builtin-bench.o
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 5c11eca..ebdad33 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -15,6 +15,9 @@
 #ifndef __NR_futex
 # define __NR_futex 240
 #endif
+#ifndef __NR_gettid
+# define __NR_gettid 224
+#endif
 #endif
 
 #if defined(__x86_64__)
@@ -29,6 +32,9 @@
 #ifndef __NR_futex
 # define __NR_futex 202
 #endif
+#ifndef __NR_gettid
+# define __NR_gettid 186
+#endif
 #endif
 
 #ifdef __powerpc__
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index ceb9dae..bb60792 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -128,6 +128,10 @@ static struct test {
 		.func = test__hists_filter,
 	},
 	{
+		.desc = "Test mmap thread lookup",
+		.func = test__mmap_thread_lookup,
+	},
+	{
 		.func = NULL,
 	},
 };
diff --git a/tools/perf/tests/mmap-thread-lookup.c b/tools/perf/tests/mmap-thread-lookup.c
new file mode 100644
index 0000000..4a456fe
--- /dev/null
+++ b/tools/perf/tests/mmap-thread-lookup.c
@@ -0,0 +1,233 @@
+#include <unistd.h>
+#include <sys/syscall.h>
+#include <sys/types.h>
+#include <sys/mman.h>
+#include <pthread.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include "debug.h"
+#include "tests.h"
+#include "machine.h"
+#include "thread_map.h"
+#include "symbol.h"
+#include "thread.h"
+
+#define THREADS 4
+
+static int go_away;
+
+struct thread_data {
+	pthread_t	pt;
+	pid_t		tid;
+	void		*map;
+	int		ready[2];
+};
+
+static struct thread_data threads[THREADS];
+
+static int thread_init(struct thread_data *td)
+{
+	void *map;
+
+	map = mmap(NULL, page_size,
+		   PROT_READ|PROT_WRITE|PROT_EXEC,
+		   MAP_SHARED|MAP_ANONYMOUS, -1, 0);
+
+	if (map == MAP_FAILED) {
+		perror("mmap failed");
+		return -1;
+	}
+
+	td->map = map;
+	td->tid = syscall(SYS_gettid);
+
+	pr_debug("tid = %d, map = %p\n", td->tid, map);
+	return 0;
+}
+
+static void *thread_fn(void *arg)
+{
+	struct thread_data *td = arg;
+	ssize_t ret;
+	int go;
+
+	if (thread_init(td))
+		return NULL;
+
+	/* Signal thread_create thread is initialized. */
+	ret = write(td->ready[1], &go, sizeof(int));
+	if (ret != sizeof(int)) {
+		pr_err("failed to notify\n");
+		return NULL;
+	}
+
+	while (!go_away) {
+		/* Waiting for main thread to kill us. */
+		usleep(100);
+	}
+
+	munmap(td->map, page_size);
+	return NULL;
+}
+
+static int thread_create(int i)
+{
+	struct thread_data *td = &threads[i];
+	int err, go;
+
+	if (pipe(td->ready))
+		return -1;
+
+	err = pthread_create(&td->pt, NULL, thread_fn, td);
+	if (!err) {
+		/* Wait for thread initialization. */
+		ssize_t ret = read(td->ready[0], &go, sizeof(int));
+		err = ret != sizeof(int);
+	}
+
+	close(td->ready[0]);
+	close(td->ready[1]);
+	return err;
+}
+
+static int threads_create(void)
+{
+	struct thread_data *td0 = &threads[0];
+	int i, err = 0;
+
+	go_away = 0;
+
+	/* 0 is main thread */
+	if (thread_init(td0))
+		return -1;
+
+	for (i = 1; !err && i < THREADS; i++)
+		err = thread_create(i);
+
+	return err;
+}
+
+static int threads_destroy(void)
+{
+	struct thread_data *td0 = &threads[0];
+	int i, err = 0;
+
+	/* cleanup the main thread */
+	munmap(td0->map, page_size);
+
+	go_away = 1;
+
+	for (i = 1; !err && i < THREADS; i++)
+		err = pthread_join(threads[i].pt, NULL);
+
+	return err;
+}
+
+typedef int (*synth_cb)(struct machine *machine);
+
+static int synth_all(struct machine *machine)
+{
+	return perf_event__synthesize_threads(NULL,
+					      perf_event__process,
+					      machine, 0);
+}
+
+static int synth_process(struct machine *machine)
+{
+	struct thread_map *map;
+	int err;
+
+	map = thread_map__new_by_pid(getpid());
+
+	err = perf_event__synthesize_thread_map(NULL, map,
+						perf_event__process,
+						machine, 0);
+
+	thread_map__delete(map);
+	return err;
+}
+
+static int mmap_events(synth_cb synth)
+{
+	struct machines machines;
+	struct machine *machine;
+	int err, i;
+
+	/*
+	 * The threads_create will not return before all threads
+	 * are spawned and all created memory map.
+	 *
+	 * They will loop until threads_destroy is called, so we
+	 * can safely run synthesizing function.
+	 */
+	TEST_ASSERT_VAL("failed to create threads", !threads_create());
+
+	machines__init(&machines);
+	machine = &machines.host;
+
+	dump_trace = verbose > 1 ? 1 : 0;
+
+	err = synth(machine);
+
+	dump_trace = 0;
+
+	TEST_ASSERT_VAL("failed to destroy threads", !threads_destroy());
+	TEST_ASSERT_VAL("failed to synthesize maps", !err);
+
+	/*
+	 * All data is synthesized, try to find map for each
+	 * thread object.
+	 */
+	for (i = 0; i < THREADS; i++) {
+		struct thread_data *td = &threads[i];
+		struct addr_location al;
+		struct thread *thread;
+
+		thread = machine__findnew_thread(machine, getpid(), td->tid);
+
+		pr_debug("looking for map %p\n", td->map);
+
+		thread__find_addr_map(thread, machine,
+				      PERF_RECORD_MISC_USER, MAP__FUNCTION,
+				      (unsigned long) (td->map + 1), &al);
+
+		if (!al.map) {
+			pr_debug("failed, couldn't find map\n");
+			err = -1;
+			break;
+		}
+
+		pr_debug("map %p, addr %" PRIx64 "\n", al.map, al.map->start);
+	}
+
+	machine__delete_threads(machine);
+	machines__exit(&machines);
+	return err;
+}
+
+/*
+ * This test creates 'THREADS' number of threads (including
+ * main thread) and each thread creates memory map.
+ *
+ * When threads are created, we synthesize them with both
+ * (separate tests):
+ *   perf_event__synthesize_thread_map (process based)
+ *   perf_event__synthesize_threads    (global)
+ *
+ * We test we can find all memory maps via:
+ *   thread__find_addr_map
+ *
+ * by using all thread objects.
+ */
+int test__mmap_thread_lookup(void)
+{
+	/* perf_event__synthesize_threads synthesize */
+	TEST_ASSERT_VAL("failed with sythesizing all",
+			!mmap_events(synth_all));
+
+	/* perf_event__synthesize_thread_map synthesize */
+	TEST_ASSERT_VAL("failed with sythesizing process",
+			!mmap_events(synth_process));
+
+	return 0;
+}
diff --git a/tools/perf/tests/tests.h b/tools/perf/tests/tests.h
index fe39163..82e8061 100644
--- a/tools/perf/tests/tests.h
+++ b/tools/perf/tests/tests.h
@@ -42,6 +42,7 @@ int test__keep_tracking(void);
 int test__parse_no_sample_id_all(void);
 int test__dwarf_unwind(void);
 int test__hists_filter(void);
+int test__mmap_thread_lookup(void);
 
 #if defined(__x86_64__) || defined(__i386__)
 #ifdef HAVE_DWARF_UNWIND_SUPPORT
-- 
1.8.3.1


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

* [PATCH 4/7] perf tools: Allocate thread map_groups's dynamically
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
                   ` (2 preceding siblings ...)
  2014-04-28 12:00 ` [PATCH 3/7] perf tests: Add thread maps lookup automated tests Jiri Olsa
@ 2014-04-28 12:00 ` Jiri Olsa
  2014-04-28 12:00 ` [PATCH 5/7] perf tools: Reference count map_groups objects Jiri Olsa
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 12:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Arnaldo Carvalho de Melo,
	Adrian Hunter, Corey Ashford, David Ahern, Don Zickus,
	Frederic Weisbecker, Mike Galbraith, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra, Stephane Eranian, Jiri Olsa

From: Arnaldo Carvalho de Melo <acme@redhat.com>

Moving towards sharing map groups within a process threads.

Because of this we need the map groups to be dynamically allocated. No
other functional change is intended in here.

Based on a patch by Jiri Olsa, but this time _just_ making the
conversion from statically allocating thread->mg to turning it into a
pointer and instead of initializing it at thread's constructor,
introduce a constructor/destructor for the map_groups class and
call at thread creation time.

Later we will introduce the get/put methods when we move to sharing
those map_groups, when the get/put refcounting semantics will be needed.

Signed-off-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-3-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/arch/x86/tests/dwarf-unwind.c |  2 +-
 tools/perf/ui/stdio/hist.c               |  2 +-
 tools/perf/util/event.c                  |  2 +-
 tools/perf/util/map.c                    | 16 ++++++++++++++++
 tools/perf/util/map.h                    |  3 +++
 tools/perf/util/thread.c                 | 18 ++++++++++++------
 tools/perf/util/thread.h                 |  2 +-
 7 files changed, 35 insertions(+), 10 deletions(-)

diff --git a/tools/perf/arch/x86/tests/dwarf-unwind.c b/tools/perf/arch/x86/tests/dwarf-unwind.c
index b8c0102..c916656 100644
--- a/tools/perf/arch/x86/tests/dwarf-unwind.c
+++ b/tools/perf/arch/x86/tests/dwarf-unwind.c
@@ -23,7 +23,7 @@ static int sample_ustack(struct perf_sample *sample,
 
 	sp = (unsigned long) regs[PERF_REG_X86_SP];
 
-	map = map_groups__find(&thread->mg, MAP__FUNCTION, (u64) sp);
+	map = map_groups__find(thread->mg, MAP__FUNCTION, (u64) sp);
 	if (!map) {
 		pr_debug("failed to get stack map\n");
 		free(buf);
diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c
index d59893e..9eccf7f 100644
--- a/tools/perf/ui/stdio/hist.c
+++ b/tools/perf/ui/stdio/hist.c
@@ -495,7 +495,7 @@ print_entries:
 			break;
 
 		if (h->ms.map == NULL && verbose > 1) {
-			__map_groups__fprintf_maps(&h->thread->mg,
+			__map_groups__fprintf_maps(h->thread->mg,
 						   MAP__FUNCTION, verbose, fp);
 			fprintf(fp, "%.10s end\n", graph_dotted_line);
 		}
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 9d12aa6..dbcaea1 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -699,7 +699,7 @@ void thread__find_addr_map(struct thread *thread,
 			   enum map_type type, u64 addr,
 			   struct addr_location *al)
 {
-	struct map_groups *mg = &thread->mg;
+	struct map_groups *mg = thread->mg;
 	bool load_map = false;
 
 	al->machine = machine;
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index 39cd2d0..ae4c5e1 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -358,6 +358,22 @@ void map_groups__exit(struct map_groups *mg)
 	}
 }
 
+struct map_groups *map_groups__new(void)
+{
+	struct map_groups *mg = malloc(sizeof(*mg));
+
+	if (mg != NULL)
+		map_groups__init(mg);
+
+	return mg;
+}
+
+void map_groups__delete(struct map_groups *mg)
+{
+	map_groups__exit(mg);
+	free(mg);
+}
+
 void map_groups__flush(struct map_groups *mg)
 {
 	int type;
diff --git a/tools/perf/util/map.h b/tools/perf/util/map.h
index f00f058..1073e2d 100644
--- a/tools/perf/util/map.h
+++ b/tools/perf/util/map.h
@@ -61,6 +61,9 @@ struct map_groups {
 	struct machine	 *machine;
 };
 
+struct map_groups *map_groups__new(void);
+void map_groups__delete(struct map_groups *mg);
+
 static inline struct kmap *map__kmap(struct map *map)
 {
 	return (struct kmap *)(map + 1);
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index 3ce0498..dc51d16 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -15,7 +15,10 @@ struct thread *thread__new(pid_t pid, pid_t tid)
 	struct thread *thread = zalloc(sizeof(*thread));
 
 	if (thread != NULL) {
-		map_groups__init(&thread->mg);
+		thread->mg = map_groups__new();
+		if (thread->mg == NULL)
+			goto out_free;
+
 		thread->pid_ = pid;
 		thread->tid = tid;
 		thread->ppid = -1;
@@ -37,6 +40,8 @@ struct thread *thread__new(pid_t pid, pid_t tid)
 	return thread;
 
 err_thread:
+	map_groups__delete(thread->mg);
+out_free:
 	free(thread);
 	return NULL;
 }
@@ -45,7 +50,8 @@ void thread__delete(struct thread *thread)
 {
 	struct comm *comm, *tmp;
 
-	map_groups__exit(&thread->mg);
+	map_groups__delete(thread->mg);
+	thread->mg = NULL;
 	list_for_each_entry_safe(comm, tmp, &thread->comm_list, list) {
 		list_del(&comm->list);
 		comm__free(comm);
@@ -111,13 +117,13 @@ int thread__comm_len(struct thread *thread)
 size_t thread__fprintf(struct thread *thread, FILE *fp)
 {
 	return fprintf(fp, "Thread %d %s\n", thread->tid, thread__comm_str(thread)) +
-	       map_groups__fprintf(&thread->mg, verbose, fp);
+	       map_groups__fprintf(thread->mg, verbose, fp);
 }
 
 void thread__insert_map(struct thread *thread, struct map *map)
 {
-	map_groups__fixup_overlappings(&thread->mg, map, verbose, stderr);
-	map_groups__insert(&thread->mg, map);
+	map_groups__fixup_overlappings(thread->mg, map, verbose, stderr);
+	map_groups__insert(thread->mg, map);
 }
 
 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp)
@@ -135,7 +141,7 @@ int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp)
 	}
 
 	for (i = 0; i < MAP__NR_TYPES; ++i)
-		if (map_groups__clone(&thread->mg, &parent->mg, i) < 0)
+		if (map_groups__clone(thread->mg, parent->mg, i) < 0)
 			return -ENOMEM;
 
 	thread->ppid = parent->tid;
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index 9b29f08..bee1eb0 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -13,7 +13,7 @@ struct thread {
 		struct rb_node	 rb_node;
 		struct list_head node;
 	};
-	struct map_groups	mg;
+	struct map_groups	*mg;
 	pid_t			pid_; /* Not all tools update this */
 	pid_t			tid;
 	pid_t			ppid;
-- 
1.8.3.1


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

* [PATCH 5/7] perf tools: Reference count map_groups objects
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
                   ` (3 preceding siblings ...)
  2014-04-28 12:00 ` [PATCH 4/7] perf tools: Allocate thread map_groups's dynamically Jiri Olsa
@ 2014-04-28 12:00 ` Jiri Olsa
  2014-04-28 12:00 ` [PATCH 6/7] perf tools: Share map_groups among threads of the same group Jiri Olsa
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 12:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Arnaldo Carvalho de Melo,
	Adrian Hunter, Corey Ashford, David Ahern, Don Zickus,
	Frederic Weisbecker, Mike Galbraith, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra, Stephane Eranian, Jiri Olsa

From: Arnaldo Carvalho de Melo <acme@redhat.com>

We will share it among threads in the same process.
Adding map_groups__get/map_groups__put interface for that.

Signed-off-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-4-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/util/map.c    | 7 +++++++
 tools/perf/util/map.h    | 9 +++++++++
 tools/perf/util/thread.c | 2 +-
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index ae4c5e1..ba5f5c0c 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -323,6 +323,7 @@ void map_groups__init(struct map_groups *mg)
 		INIT_LIST_HEAD(&mg->removed_maps[i]);
 	}
 	mg->machine = NULL;
+	mg->refcnt = 1;
 }
 
 static void maps__delete(struct rb_root *maps)
@@ -374,6 +375,12 @@ void map_groups__delete(struct map_groups *mg)
 	free(mg);
 }
 
+void map_groups__put(struct map_groups *mg)
+{
+	if (--mg->refcnt == 0)
+		map_groups__delete(mg);
+}
+
 void map_groups__flush(struct map_groups *mg)
 {
 	int type;
diff --git a/tools/perf/util/map.h b/tools/perf/util/map.h
index 1073e2d..d6445b2 100644
--- a/tools/perf/util/map.h
+++ b/tools/perf/util/map.h
@@ -59,11 +59,20 @@ struct map_groups {
 	struct rb_root	 maps[MAP__NR_TYPES];
 	struct list_head removed_maps[MAP__NR_TYPES];
 	struct machine	 *machine;
+	int		 refcnt;
 };
 
 struct map_groups *map_groups__new(void);
 void map_groups__delete(struct map_groups *mg);
 
+static inline struct map_groups *map_groups__get(struct map_groups *mg)
+{
+	++mg->refcnt;
+	return mg;
+}
+
+void map_groups__put(struct map_groups *mg);
+
 static inline struct kmap *map__kmap(struct map *map)
 {
 	return (struct kmap *)(map + 1);
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index dc51d16..b501848 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -50,7 +50,7 @@ void thread__delete(struct thread *thread)
 {
 	struct comm *comm, *tmp;
 
-	map_groups__delete(thread->mg);
+	map_groups__put(thread->mg);
 	thread->mg = NULL;
 	list_for_each_entry_safe(comm, tmp, &thread->comm_list, list) {
 		list_del(&comm->list);
-- 
1.8.3.1


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

* [PATCH 6/7] perf tools: Share map_groups among threads of the same group
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
                   ` (4 preceding siblings ...)
  2014-04-28 12:00 ` [PATCH 5/7] perf tools: Reference count map_groups objects Jiri Olsa
@ 2014-04-28 12:00 ` Jiri Olsa
  2014-04-28 12:00 ` [PATCH 7/7] perf tests: Add map groups sharing with thread object test Jiri Olsa
  2014-04-29  6:42 ` [GIT PULL 0/7] perf/core improvements and fixes Ingo Molnar
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 12:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Jiri Olsa, Adrian Hunter, Corey Ashford,
	David Ahern, Don Zickus, Frederic Weisbecker, Mike Galbraith,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra, Stephane Eranian

Sharing map groups within all process threads. This way
there's only one copy of mmap info and it's reachable
from any thread within the process.

Original-patch-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-5-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/util/machine.c | 11 +++++++++++
 tools/perf/util/thread.c  | 48 ++++++++++++++++++++++++++++++++++-------------
 tools/perf/util/thread.h  |  1 +
 3 files changed, 47 insertions(+), 13 deletions(-)

diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index a53cd0b..98ec56d 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -316,6 +316,17 @@ static struct thread *__machine__findnew_thread(struct machine *machine,
 		rb_link_node(&th->rb_node, parent, p);
 		rb_insert_color(&th->rb_node, &machine->threads);
 		machine->last_match = th;
+
+		/*
+		 * We have to initialize map_groups separately
+		 * after rb tree is updated.
+		 *
+		 * The reason is that we call machine__findnew_thread
+		 * within thread__init_map_groups to find the thread
+		 * leader and that would screwed the rb tree.
+		 */
+		if (thread__init_map_groups(th, machine))
+			return NULL;
 	}
 
 	return th;
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index b501848..2fde0d5 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -8,6 +8,22 @@
 #include "debug.h"
 #include "comm.h"
 
+int thread__init_map_groups(struct thread *thread, struct machine *machine)
+{
+	struct thread *leader;
+	pid_t pid = thread->pid_;
+
+	if (pid == thread->tid) {
+		thread->mg = map_groups__new();
+	} else {
+		leader = machine__findnew_thread(machine, pid, pid);
+		if (leader)
+			thread->mg = map_groups__get(leader->mg);
+	}
+
+	return thread->mg ? 0 : -1;
+}
+
 struct thread *thread__new(pid_t pid, pid_t tid)
 {
 	char *comm_str;
@@ -15,10 +31,6 @@ struct thread *thread__new(pid_t pid, pid_t tid)
 	struct thread *thread = zalloc(sizeof(*thread));
 
 	if (thread != NULL) {
-		thread->mg = map_groups__new();
-		if (thread->mg == NULL)
-			goto out_free;
-
 		thread->pid_ = pid;
 		thread->tid = tid;
 		thread->ppid = -1;
@@ -40,8 +52,6 @@ struct thread *thread__new(pid_t pid, pid_t tid)
 	return thread;
 
 err_thread:
-	map_groups__delete(thread->mg);
-out_free:
 	free(thread);
 	return NULL;
 }
@@ -126,9 +136,26 @@ void thread__insert_map(struct thread *thread, struct map *map)
 	map_groups__insert(thread->mg, map);
 }
 
+static int thread__clone_map_groups(struct thread *thread,
+				    struct thread *parent)
+{
+	int i;
+
+	/* This is new thread, we share map groups for process. */
+	if (thread->pid_ == parent->pid_)
+		return 0;
+
+	/* But this one is new process, copy maps. */
+	for (i = 0; i < MAP__NR_TYPES; ++i)
+		if (map_groups__clone(thread->mg, parent->mg, i) < 0)
+			return -ENOMEM;
+
+	return 0;
+}
+
 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp)
 {
-	int i, err;
+	int err;
 
 	if (parent->comm_set) {
 		const char *comm = thread__comm_str(parent);
@@ -140,13 +167,8 @@ int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp)
 		thread->comm_set = true;
 	}
 
-	for (i = 0; i < MAP__NR_TYPES; ++i)
-		if (map_groups__clone(thread->mg, parent->mg, i) < 0)
-			return -ENOMEM;
-
 	thread->ppid = parent->tid;
-
-	return 0;
+	return thread__clone_map_groups(thread, parent);
 }
 
 void thread__find_cpumode_addr_location(struct thread *thread,
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index bee1eb0..3c0c272 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -30,6 +30,7 @@ struct machine;
 struct comm;
 
 struct thread *thread__new(pid_t pid, pid_t tid);
+int thread__init_map_groups(struct thread *thread, struct machine *machine);
 void thread__delete(struct thread *thread);
 static inline void thread__exited(struct thread *thread)
 {
-- 
1.8.3.1


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

* [PATCH 7/7] perf tests: Add map groups sharing with thread object test
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
                   ` (5 preceding siblings ...)
  2014-04-28 12:00 ` [PATCH 6/7] perf tools: Share map_groups among threads of the same group Jiri Olsa
@ 2014-04-28 12:00 ` Jiri Olsa
  2014-04-29  6:42 ` [GIT PULL 0/7] perf/core improvements and fixes Ingo Molnar
  7 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 12:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Jiri Olsa, Adrian Hunter, Arnaldo Carvalho de Melo,
	Corey Ashford, David Ahern, Don Zickus, Frederic Weisbecker,
	Mike Galbraith, Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Stephane Eranian

This test create 2 processes abstractions, with several threads
and checks they properly share and maintain map groups info.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-6-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/Makefile.perf           |  1 +
 tools/perf/tests/builtin-test.c    |  4 ++
 tools/perf/tests/tests.h           |  1 +
 tools/perf/tests/thread-mg-share.c | 90 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 96 insertions(+)
 create mode 100644 tools/perf/tests/thread-mg-share.c

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 16d4f4e..46e0c32 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -417,6 +417,7 @@ LIB_OBJS += $(OUTPUT)tests/dwarf-unwind.o
 endif
 endif
 LIB_OBJS += $(OUTPUT)tests/mmap-thread-lookup.o
+LIB_OBJS += $(OUTPUT)tests/thread-mg-share.o
 
 BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o
 BUILTIN_OBJS += $(OUTPUT)builtin-bench.o
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index bb60792..0d5afaf 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -132,6 +132,10 @@ static struct test {
 		.func = test__mmap_thread_lookup,
 	},
 	{
+		.desc = "Test thread mg sharing",
+		.func = test__thread_mg_share,
+	},
+	{
 		.func = NULL,
 	},
 };
diff --git a/tools/perf/tests/tests.h b/tools/perf/tests/tests.h
index 82e8061..a9d7cb0 100644
--- a/tools/perf/tests/tests.h
+++ b/tools/perf/tests/tests.h
@@ -43,6 +43,7 @@ int test__parse_no_sample_id_all(void);
 int test__dwarf_unwind(void);
 int test__hists_filter(void);
 int test__mmap_thread_lookup(void);
+int test__thread_mg_share(void);
 
 #if defined(__x86_64__) || defined(__i386__)
 #ifdef HAVE_DWARF_UNWIND_SUPPORT
diff --git a/tools/perf/tests/thread-mg-share.c b/tools/perf/tests/thread-mg-share.c
new file mode 100644
index 0000000..2b2e0db
--- /dev/null
+++ b/tools/perf/tests/thread-mg-share.c
@@ -0,0 +1,90 @@
+#include "tests.h"
+#include "machine.h"
+#include "thread.h"
+#include "map.h"
+
+int test__thread_mg_share(void)
+{
+	struct machines machines;
+	struct machine *machine;
+
+	/* thread group */
+	struct thread *leader;
+	struct thread *t1, *t2, *t3;
+	struct map_groups *mg;
+
+	/* other process */
+	struct thread *other, *other_leader;
+	struct map_groups *other_mg;
+
+	/*
+	 * This test create 2 processes abstractions (struct thread)
+	 * with several threads and checks they properly share and
+	 * maintain map groups info (struct map_groups).
+	 *
+	 * thread group (pid: 0, tids: 0, 1, 2, 3)
+	 * other  group (pid: 4, tids: 4, 5)
+	*/
+
+	machines__init(&machines);
+	machine = &machines.host;
+
+	/* create process with 4 threads */
+	leader = machine__findnew_thread(machine, 0, 0);
+	t1     = machine__findnew_thread(machine, 0, 1);
+	t2     = machine__findnew_thread(machine, 0, 2);
+	t3     = machine__findnew_thread(machine, 0, 3);
+
+	/* and create 1 separated process, without thread leader */
+	other  = machine__findnew_thread(machine, 4, 5);
+
+	TEST_ASSERT_VAL("failed to create threads",
+			leader && t1 && t2 && t3 && other);
+
+	mg = leader->mg;
+	TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 4);
+
+	/* test the map groups pointer is shared */
+	TEST_ASSERT_VAL("map groups don't match", mg == t1->mg);
+	TEST_ASSERT_VAL("map groups don't match", mg == t2->mg);
+	TEST_ASSERT_VAL("map groups don't match", mg == t3->mg);
+
+	/*
+	 * Verify the other leader was created by previous call.
+	 * It should have shared map groups with no change in
+	 * refcnt.
+	 */
+	other_leader = machine__find_thread(machine, 4, 4);
+	TEST_ASSERT_VAL("failed to find other leader", other_leader);
+
+	other_mg = other->mg;
+	TEST_ASSERT_VAL("wrong refcnt", other_mg->refcnt == 2);
+
+	TEST_ASSERT_VAL("map groups don't match", other_mg == other_leader->mg);
+
+	/* release thread group */
+	thread__delete(leader);
+	TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 3);
+
+	thread__delete(t1);
+	TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 2);
+
+	thread__delete(t2);
+	TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 1);
+
+	thread__delete(t3);
+
+	/* release other group  */
+	thread__delete(other_leader);
+	TEST_ASSERT_VAL("wrong refcnt", other_mg->refcnt == 1);
+
+	thread__delete(other);
+
+	/*
+	 * Cannot call machine__delete_threads(machine) now,
+	 * because we've already released all the threads.
+	 */
+
+	machines__exit(&machines);
+	return 0;
+}
-- 
1.8.3.1


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

* Re: [GIT PULL  0/7] perf/core improvements and fixes
  2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
                   ` (6 preceding siblings ...)
  2014-04-28 12:00 ` [PATCH 7/7] perf tests: Add map groups sharing with thread object test Jiri Olsa
@ 2014-04-29  6:42 ` Ingo Molnar
  7 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2014-04-29  6:42 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: linux-kernel, Adrian Hunter, Arnaldo Carvalho de Melo,
	Corey Ashford, David Ahern, Don Zickus, Frederic Weisbecker,
	Mike Galbraith, Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Stephane Eranian


* Jiri Olsa <jolsa@kernel.org> wrote:

> hi Ingo,
> please consider pulling
> 
> thanks,
> jirka
> 
> 
> The following changes since commit 2933d7813d8618f18632a7dc7f4e7f1f7d17383a:
> 
>   Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-04-25 10:04:46 +0200)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git tags/perf-core-for-mingo
> 
> for you to fetch changes up to fabf01238289e9ae009499594fc54642f5802a24:
> 
>   perf tests: Add map groups sharing with thread object test (2014-04-28 13:43:40 +0200)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> . Add a test case for hists filtering (Namhyung Kim)
> 
> . Share map_groups among threads of the same group (Arnaldo Carvalho de Melo, Jiri Olsa)
> 
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> 
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (2):
>       perf tools: Allocate thread map_groups's dynamically
>       perf tools: Reference count map_groups objects
> 
> Jiri Olsa (3):
>       perf tests: Add thread maps lookup automated tests
>       perf tools: Share map_groups among threads of the same group
>       perf tests: Add map groups sharing with thread object test
> 
> Namhyung Kim (2):
>       perf tests: Factor out fake_setup_machine()
>       perf tests: Add a test case for hists filtering
> 
>  tools/perf/Makefile.perf                 |   4 +
>  tools/perf/arch/x86/tests/dwarf-unwind.c |   2 +-
>  tools/perf/perf.h                        |   6 +
>  tools/perf/tests/builtin-test.c          |  12 ++
>  tools/perf/tests/hists_common.c          | 148 +++++++++++++++
>  tools/perf/tests/hists_common.h          |  44 +++++
>  tools/perf/tests/hists_filter.c          | 315 +++++++++++++++++++++++++++++++
>  tools/perf/tests/hists_link.c            | 141 +-------------
>  tools/perf/tests/mmap-thread-lookup.c    | 233 +++++++++++++++++++++++
>  tools/perf/tests/tests.h                 |   3 +
>  tools/perf/tests/thread-mg-share.c       |  90 +++++++++
>  tools/perf/ui/stdio/hist.c               |   2 +-
>  tools/perf/util/event.c                  |   2 +-
>  tools/perf/util/machine.c                |  11 ++
>  tools/perf/util/map.c                    |  23 +++
>  tools/perf/util/map.h                    |  12 ++
>  tools/perf/util/thread.c                 |  52 +++--
>  tools/perf/util/thread.h                 |   3 +-
>  18 files changed, 948 insertions(+), 155 deletions(-)
>  create mode 100644 tools/perf/tests/hists_common.c
>  create mode 100644 tools/perf/tests/hists_common.h
>  create mode 100644 tools/perf/tests/hists_filter.c
>  create mode 100644 tools/perf/tests/mmap-thread-lookup.c
>  create mode 100644 tools/perf/tests/thread-mg-share.c

Pulled, thanks a lot Jiri!

	Ingo

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2014-06-23  7:59 Jiri Olsa
  2014-06-25  5:44 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Jiri Olsa @ 2014-06-23  7:59 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Corey Ashford,
	David Ahern, Frederic Weisbecker, Jan Kiszka, Namhyung Kim,
	Paul Mackerras, Peter Zijlstra, Steven Rostedt, Jiri Olsa

hi Ingo,
please consider pulling

thanks,
jirka


The following changes since commit 4ba96195051be30160af6d5f5f83f9a055ab1f23:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-06-13 08:19:06 +0200)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git tags/perf-core-for-mingo

for you to fetch changes up to 1545d8aca9ac1cb3f503fb9c29543d539d99c7af:

  tools lib traceevent: Clean up format of args in jbd2 plugin (2014-06-19 18:18:37 +0200)

----------------------------------------------------------------
perf/core improvements and fixes:

. Updates from trace-cmd for traceevent plugin_kvm plus args cleanup (Steven Rostedt, Jan Kiszka)

Signed-off-by: Jiri Olsa <jolsa@kernel.org>

----------------------------------------------------------------
Jan Kiszka (3):
      tools lib traceevent: Report unknown VMX exit reasons with code
      tools lib traceevent: Factor out print_exit_reason in kvm plugin
      tools lib traceevent: Fix and cleanup kvm_nested_vmexit tracepoints

Steven Rostedt (3):
      tools lib traceevent: Fix format in plugin_kvm
      tools lib traceevent: Clean up format of args in cfg80211 plugin
      tools lib traceevent: Clean up format of args in jbd2 plugin

Steven Rostedt (Red Hat) (1):
      tools lib traceevent: Add back in kvm plugins nested_vmexit events

 tools/lib/traceevent/plugin_cfg80211.c |  3 +-
 tools/lib/traceevent/plugin_jbd2.c     |  6 ++--
 tools/lib/traceevent/plugin_kvm.c      | 64 +++++++++++++++++++++++++++++-----
 3 files changed, 59 insertions(+), 14 deletions(-)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2014-06-23  7:59 Jiri Olsa
@ 2014-06-25  5:44 ` Ingo Molnar
  0 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2014-06-25  5:44 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Corey Ashford,
	David Ahern, Frederic Weisbecker, Jan Kiszka, Namhyung Kim,
	Paul Mackerras, Peter Zijlstra, Steven Rostedt


* Jiri Olsa <jolsa@kernel.org> wrote:

> hi Ingo,
> please consider pulling
> 
> thanks,
> jirka
> 
> 
> The following changes since commit 4ba96195051be30160af6d5f5f83f9a055ab1f23:
> 
>   Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-06-13 08:19:06 +0200)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git tags/perf-core-for-mingo
> 
> for you to fetch changes up to 1545d8aca9ac1cb3f503fb9c29543d539d99c7af:
> 
>   tools lib traceevent: Clean up format of args in jbd2 plugin (2014-06-19 18:18:37 +0200)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> . Updates from trace-cmd for traceevent plugin_kvm plus args cleanup (Steven Rostedt, Jan Kiszka)
> 
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> 
> ----------------------------------------------------------------
> Jan Kiszka (3):
>       tools lib traceevent: Report unknown VMX exit reasons with code
>       tools lib traceevent: Factor out print_exit_reason in kvm plugin
>       tools lib traceevent: Fix and cleanup kvm_nested_vmexit tracepoints
> 
> Steven Rostedt (3):
>       tools lib traceevent: Fix format in plugin_kvm
>       tools lib traceevent: Clean up format of args in cfg80211 plugin
>       tools lib traceevent: Clean up format of args in jbd2 plugin
> 
> Steven Rostedt (Red Hat) (1):
>       tools lib traceevent: Add back in kvm plugins nested_vmexit events
> 
>  tools/lib/traceevent/plugin_cfg80211.c |  3 +-
>  tools/lib/traceevent/plugin_jbd2.c     |  6 ++--
>  tools/lib/traceevent/plugin_kvm.c      | 64 +++++++++++++++++++++++++++++-----
>  3 files changed, 59 insertions(+), 14 deletions(-)

Pulled, thanks a lot Jiri!

	Ingo

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2015-04-10 21:40 Arnaldo Carvalho de Melo
  2015-04-11  6:33 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-04-10 21:40 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	Borislav Petkov, David Ahern, Don Zickus, Frederic Weisbecker,
	He Kuang, Jiri Olsa, Masami Hiramatsu, Mike Galbraith,
	Namhyung Kim, Peter Zijlstra, Stephane Eranian, Wang Nan,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 51ab7155c08baf45cc2aa911961e5b78422e478f:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-04-08 17:03:47 +0200)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo

for you to fetch changes up to 7b8283b56d9fb36106ff1c459dfd399a20bd374d:

  perf evlist: Fix type for references to data_head/tail (2015-04-10 11:29:20 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

New user visible features:

- Support multiple probes on different binaries on the same command line (Masami Hiramatsu)

User visible fixes:

- Fix synthesizing fork_event.ppid for non-main thread (David Ahern)

- Fix cross-endian analysis (David Ahern)

- Fix segfault in 'perf buildid-list' when show DSOs with hits (He Kuang)

Infrastructure:

- Fix type for references to data_head/tail (David Ahern)

- Fix error path to do closedir() when synthesizing threads (Arnaldo Carvalho de Melo)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
      perf tools: Fix error path to do closedir() when synthesizing threads

David Ahern (3):
      perf tools: Fix synthesizing fork_event.ppid for non-main thread
      perf tools: Fix cross-endian analysis
      perf evlist: Fix type for references to data_head/tail

He Kuang (1):
      perf buildid-list: Fix segfault when show DSOs with hits

Masami Hiramatsu (2):
      perf probe: Support multiple probes on different binaries
      perf probe: Check the orphaned -x option

 tools/perf/builtin-probe.c    | 19 +++++++++++++++++--
 tools/perf/builtin-record.c   |  4 ++--
 tools/perf/util/build-id.c    |  8 ++------
 tools/perf/util/event.c       | 31 +++++++++++++++++++++----------
 tools/perf/util/evlist.c      |  6 +++---
 tools/perf/util/evlist.h      |  9 ++++-----
 tools/perf/util/header.c      |  5 ++++-
 tools/perf/util/machine.c     |  4 +---
 tools/perf/util/machine.h     |  1 +
 tools/perf/util/probe-event.c |  5 +++--
 tools/perf/util/probe-event.h |  6 +++---
 11 files changed, 61 insertions(+), 37 deletions(-)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-04-10 21:40 Arnaldo Carvalho de Melo
@ 2015-04-11  6:33 ` Ingo Molnar
  0 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2015-04-11  6:33 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Adrian Hunter, Borislav Petkov, David Ahern,
	Don Zickus, Frederic Weisbecker, He Kuang, Jiri Olsa,
	Masami Hiramatsu, Mike Galbraith, Namhyung Kim, Peter Zijlstra,
	Stephane Eranian, Wang Nan, Arnaldo Carvalho de Melo


* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:

> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 51ab7155c08baf45cc2aa911961e5b78422e478f:
> 
>   Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-04-08 17:03:47 +0200)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo
> 
> for you to fetch changes up to 7b8283b56d9fb36106ff1c459dfd399a20bd374d:
> 
>   perf evlist: Fix type for references to data_head/tail (2015-04-10 11:29:20 -0300)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> New user visible features:
> 
> - Support multiple probes on different binaries on the same command line (Masami Hiramatsu)
> 
> User visible fixes:
> 
> - Fix synthesizing fork_event.ppid for non-main thread (David Ahern)
> 
> - Fix cross-endian analysis (David Ahern)
> 
> - Fix segfault in 'perf buildid-list' when show DSOs with hits (He Kuang)
> 
> Infrastructure:
> 
> - Fix type for references to data_head/tail (David Ahern)
> 
> - Fix error path to do closedir() when synthesizing threads (Arnaldo Carvalho de Melo)
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (1):
>       perf tools: Fix error path to do closedir() when synthesizing threads
> 
> David Ahern (3):
>       perf tools: Fix synthesizing fork_event.ppid for non-main thread
>       perf tools: Fix cross-endian analysis
>       perf evlist: Fix type for references to data_head/tail
> 
> He Kuang (1):
>       perf buildid-list: Fix segfault when show DSOs with hits
> 
> Masami Hiramatsu (2):
>       perf probe: Support multiple probes on different binaries
>       perf probe: Check the orphaned -x option
> 
>  tools/perf/builtin-probe.c    | 19 +++++++++++++++++--
>  tools/perf/builtin-record.c   |  4 ++--
>  tools/perf/util/build-id.c    |  8 ++------
>  tools/perf/util/event.c       | 31 +++++++++++++++++++++----------
>  tools/perf/util/evlist.c      |  6 +++---
>  tools/perf/util/evlist.h      |  9 ++++-----
>  tools/perf/util/header.c      |  5 ++++-
>  tools/perf/util/machine.c     |  4 +---
>  tools/perf/util/machine.h     |  1 +
>  tools/perf/util/probe-event.c |  5 +++--
>  tools/perf/util/probe-event.h |  6 +++---
>  11 files changed, 61 insertions(+), 37 deletions(-)

Pulled, thanks a lot Arnaldo!

	Ingo

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2015-06-12  2:15 Arnaldo Carvalho de Melo
  2015-06-12  8:09 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-06-12  2:15 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter, Andi Kleen,
	Andy Shevchenko, Borislav Petkov, David Ahern, David Ahern,
	Don Zickus, Frederic Weisbecker, He Kuang, Jiri Olsa, Kan Liang,
	Milos Vyletel, Namhyung Kim, Peter Zijlstra, Steven Rostedt,
	Wang Nan, Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 028c63b56795206464263fa3bc47094704c2a840:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-06-09 11:46:04 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo

for you to fetch changes up to c8ad7063626406181a7ebab10cb31b4f741b13d4:

  perf tools: Update MANIFEST per files removed from kernel (2015-06-11 22:54:23 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

User visible:

- Beautify perf_event_open syscall in 'perf trace'. (Arnaldo Carvalho de Melo)

- Error out unsupported group leader immediately in 'perf stat'. (Kan Liang)

- Amend some 'perf record' option summaries (period, etc) (Peter Zijlstra)

- Avoid possible race condition in copyfile() in 'perf buildid-cache'. (Milos Vyletel)

Infrastructure:

- Display 0x for hex values when printing the attribute. (Adrian Hunter)

- Update MANIFEST per files removed from kernel. (David Ahern)

Build fixes:

- Fix PRIu64 printf related failure on 32-bit arch. (He Kuang)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Adrian Hunter (1):
      perf evsel: Display 0x for hex values when printing the attribute

Arnaldo Carvalho de Melo (1):
      trace: Beautify perf_event_open syscall

David Ahern (1):
      perf tools: Update MANIFEST per files removed from kernel

He Kuang (1):
      perf tools: Fix build failure on 32-bit arch

Kan Liang (1):
      perf stat: Error out unsupported group leader immediately

Milos Vyletel (1):
      perf tools: Avoid possible race condition in copyfile()

Peter Zijlstra (1):
      perf record: Amend option summaries

 tools/perf/Documentation/perf-record.txt | 10 ++++--
 tools/perf/MANIFEST                      |  4 ---
 tools/perf/builtin-record.c              |  7 ++--
 tools/perf/builtin-report.c              |  2 +-
 tools/perf/builtin-stat.c                |  5 ++-
 tools/perf/builtin-trace.c               | 58 ++++++++++++++++++++++++++++++++
 tools/perf/util/evsel.c                  |  2 +-
 tools/perf/util/session.c                |  2 +-
 tools/perf/util/util.c                   | 46 ++++++++++++++++---------
 9 files changed, 106 insertions(+), 30 deletions(-)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-06-12  2:15 Arnaldo Carvalho de Melo
@ 2015-06-12  8:09 ` Ingo Molnar
  0 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2015-06-12  8:09 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Adrian Hunter, Andi Kleen, Andy Shevchenko,
	Borislav Petkov, David Ahern, David Ahern, Don Zickus,
	Frederic Weisbecker, He Kuang, Jiri Olsa, Kan Liang,
	Milos Vyletel, Namhyung Kim, Peter Zijlstra, Steven Rostedt,
	Wang Nan, Arnaldo Carvalho de Melo


* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:

> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 028c63b56795206464263fa3bc47094704c2a840:
> 
>   Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-06-09 11:46:04 +0200)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo
> 
> for you to fetch changes up to c8ad7063626406181a7ebab10cb31b4f741b13d4:
> 
>   perf tools: Update MANIFEST per files removed from kernel (2015-06-11 22:54:23 -0300)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Beautify perf_event_open syscall in 'perf trace'. (Arnaldo Carvalho de Melo)
> 
> - Error out unsupported group leader immediately in 'perf stat'. (Kan Liang)
> 
> - Amend some 'perf record' option summaries (period, etc) (Peter Zijlstra)
> 
> - Avoid possible race condition in copyfile() in 'perf buildid-cache'. (Milos Vyletel)
> 
> Infrastructure:
> 
> - Display 0x for hex values when printing the attribute. (Adrian Hunter)
> 
> - Update MANIFEST per files removed from kernel. (David Ahern)
> 
> Build fixes:
> 
> - Fix PRIu64 printf related failure on 32-bit arch. (He Kuang)
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Adrian Hunter (1):
>       perf evsel: Display 0x for hex values when printing the attribute
> 
> Arnaldo Carvalho de Melo (1):
>       trace: Beautify perf_event_open syscall
> 
> David Ahern (1):
>       perf tools: Update MANIFEST per files removed from kernel
> 
> He Kuang (1):
>       perf tools: Fix build failure on 32-bit arch
> 
> Kan Liang (1):
>       perf stat: Error out unsupported group leader immediately
> 
> Milos Vyletel (1):
>       perf tools: Avoid possible race condition in copyfile()
> 
> Peter Zijlstra (1):
>       perf record: Amend option summaries
> 
>  tools/perf/Documentation/perf-record.txt | 10 ++++--
>  tools/perf/MANIFEST                      |  4 ---
>  tools/perf/builtin-record.c              |  7 ++--
>  tools/perf/builtin-report.c              |  2 +-
>  tools/perf/builtin-stat.c                |  5 ++-
>  tools/perf/builtin-trace.c               | 58 ++++++++++++++++++++++++++++++++
>  tools/perf/util/evsel.c                  |  2 +-
>  tools/perf/util/session.c                |  2 +-
>  tools/perf/util/util.c                   | 46 ++++++++++++++++---------
>  9 files changed, 106 insertions(+), 30 deletions(-)

Pulled, thanks a lot Arnaldo!

	Ingo

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2015-11-23 21:53 Arnaldo Carvalho de Melo
  2015-11-24  8:10 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-11-23 21:53 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, David Ahern,
	Jan Kratochvil, Jiri Olsa, Masami Hiramatsu, Milian Wolff,
	Namhyung Kim, Peter Zijlstra, Taeung Song, Wang Nan,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo


The following changes since commit b7883a1c4f75edb62fc49da6000c59fb881e3c7b:

  perf/x86: Handle multiple umask bits for BDW CYCLE_ACTIVITY.* (2015-11-23 09:58:27 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo

for you to fetch changes up to 646a6e846c4dc3812c614fd061603b6db5b8d380:

  perf callchain: Add missing parent_val initialization (2015-11-23 18:31:25 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

User visible:

- Allow callchain order (caller, callee) to the libdw and libunwind based DWARF
  unwinders (Jiri Olsa)

- Add missing parent_val initialization in the callchain code, fixing a
  SEGFAULT when using callchains with 'perf top' (Jiri Olsa)

- Add initial 'perf config' command, for now just with a --list command to
  show the contents of the configuration file in use and a basic man page
  describing its format, commands for doing edits and detailed documentation
  are being reviewed and proof-read. (Taeung Song)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Jiri Olsa (5):
      perf callchain: Move initial entry call into get_entries function
      perf callchain: Add order support for libunwind DWARF unwinder
      perf test: Add callchain order setup for DWARF unwinder test
      perf callchain: Add order support for libdw DWARF unwinder
      perf callchain: Add missing parent_val initialization

Taeung Song (2):
      perf tools: Add 'perf config' command
      perf config: Add initial man page

 tools/perf/Build                         |   1 +
 tools/perf/Documentation/perf-config.txt | 103 +++++++++++++++++++++++++++++++
 tools/perf/builtin-config.c              |  66 ++++++++++++++++++++
 tools/perf/builtin.h                     |   1 +
 tools/perf/command-list.txt              |   1 +
 tools/perf/perf.c                        |   1 +
 tools/perf/tests/dwarf-unwind.c          |  22 ++++++-
 tools/perf/util/callchain.h              |   1 +
 tools/perf/util/unwind-libdw.c           |  53 +++++++++++-----
 tools/perf/util/unwind-libdw.h           |   2 +
 tools/perf/util/unwind-libunwind.c       |  60 +++++++++++-------
 11 files changed, 272 insertions(+), 39 deletions(-)
 create mode 100644 tools/perf/Documentation/perf-config.txt
 create mode 100644 tools/perf/builtin-config.c

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-23 21:53 Arnaldo Carvalho de Melo
@ 2015-11-24  8:10 ` Ingo Molnar
  2015-11-24  8:28   ` Jiri Olsa
                     ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Ingo Molnar @ 2015-11-24  8:10 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, David Ahern, Jan Kratochvil, Jiri Olsa,
	Masami Hiramatsu, Milian Wolff, Namhyung Kim, Peter Zijlstra,
	Taeung Song, Wang Nan, Arnaldo Carvalho de Melo


* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:

> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> 
> The following changes since commit b7883a1c4f75edb62fc49da6000c59fb881e3c7b:
> 
>   perf/x86: Handle multiple umask bits for BDW CYCLE_ACTIVITY.* (2015-11-23 09:58:27 +0100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo
> 
> for you to fetch changes up to 646a6e846c4dc3812c614fd061603b6db5b8d380:
> 
>   perf callchain: Add missing parent_val initialization (2015-11-23 18:31:25 -0300)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Allow callchain order (caller, callee) to the libdw and libunwind based DWARF
>   unwinders (Jiri Olsa)
> 
> - Add missing parent_val initialization in the callchain code, fixing a
>   SEGFAULT when using callchains with 'perf top' (Jiri Olsa)
> 
> - Add initial 'perf config' command, for now just with a --list command to
>   show the contents of the configuration file in use and a basic man page
>   describing its format, commands for doing edits and detailed documentation
>   are being reviewed and proof-read. (Taeung Song)
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Jiri Olsa (5):
>       perf callchain: Move initial entry call into get_entries function
>       perf callchain: Add order support for libunwind DWARF unwinder
>       perf test: Add callchain order setup for DWARF unwinder test
>       perf callchain: Add order support for libdw DWARF unwinder
>       perf callchain: Add missing parent_val initialization
> 
> Taeung Song (2):
>       perf tools: Add 'perf config' command
>       perf config: Add initial man page
> 
>  tools/perf/Build                         |   1 +
>  tools/perf/Documentation/perf-config.txt | 103 +++++++++++++++++++++++++++++++
>  tools/perf/builtin-config.c              |  66 ++++++++++++++++++++
>  tools/perf/builtin.h                     |   1 +
>  tools/perf/command-list.txt              |   1 +
>  tools/perf/perf.c                        |   1 +
>  tools/perf/tests/dwarf-unwind.c          |  22 ++++++-
>  tools/perf/util/callchain.h              |   1 +
>  tools/perf/util/unwind-libdw.c           |  53 +++++++++++-----
>  tools/perf/util/unwind-libdw.h           |   2 +
>  tools/perf/util/unwind-libunwind.c       |  60 +++++++++++-------
>  11 files changed, 272 insertions(+), 39 deletions(-)
>  create mode 100644 tools/perf/Documentation/perf-config.txt
>  create mode 100644 tools/perf/builtin-config.c

Hm, I noticed something weird - I think it started with this pull request - the 
feature detection build messages come mixed with the regular build:

triton:~/tip/tools/perf> make
  BUILD:   Doing 'make -j12' parallel build

Auto-detecting system features:
...                         dwarf: [ on  ]
...                         glibc: [ on  ]
...                          gtk2: [ on  ]
...                      libaudit: [ on  ]
...                        libbfd: [ on  ]
...                        libelf: [ on  ]
...                       libnuma: [ on  ]
...        numa_num_possible_cpus: [ on  ]
...                       libperl: [ on  ]
...                     libpython: [ on  ]
...                      libslang: [ on  ]
...                     libunwind: [ on  ]
...            libdw-dwarf-unwind: [ on  ]
...                          zlib: [ on  ]
...                          lzma: [ on  ]
...                     get_cpuid: [ on  ]
...                           bpf: [ on  ]

  GEN      common-cmds.h
  CC       perf-read-vdso32
  CC       perf-read-vdsox32
  CC       ui/gtk/browser.o
  CC       ui/gtk/hists.o
  CC       ui/gtk/setup.o
  CC       ui/gtk/util.o
  CC       ui/gtk/helpline.o
  CC       ui/gtk/progress.o
  CC       ui/gtk/annotate.o
  CC       util/abspath.o
  CC       fd/array.o

Auto-detecting system features:
  CC       event-parse.o
...                        libelf: [ on  ]
  PERF_VERSION = 4.4.rc2.g9327ca
...                           bpf: [ on  ]

  CC       util/alias.o
  CC       libbpf.o


while normally we'd first do feature detection, then only do the build (knowing 
which features to build).

Occasionally it also triggers a build failure:

  CC       plugin_kvm.o
  CC       arch/common.o
  CC       util/db-export.o
  LD       plugin_kmem-in.o
fixdep: error opening depfile: ./.plugin_kmem.o.d: No such file or directory
/home/mingo/tip/tools/build/Makefile.build:77: recipe for target 'plugin_kmem.o' 
failed
make[3]: *** [plugin_kmem.o] Error 2
Makefile:189: recipe for target 'plugin_kmem-in.o' failed
make[2]: *** [plugin_kmem-in.o] Error 2
Makefile.perf:424: recipe for target 'install-traceevent-plugins' failed
make[1]: *** [install-traceevent-plugins] Error 2
make[1]: *** Waiting for unfinished jobs....

that too seems to be a result of unwanted, over-eager parallelism.

Thanks,

	Ingo

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  8:10 ` Ingo Molnar
@ 2015-11-24  8:28   ` Jiri Olsa
  2015-11-24  8:42     ` Ingo Molnar
  2015-11-24 10:28   ` Jiri Olsa
  2015-11-26  8:13   ` Ingo Molnar
  2 siblings, 1 reply; 38+ messages in thread
From: Jiri Olsa @ 2015-11-24  8:28 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

On Tue, Nov 24, 2015 at 09:10:42AM +0100, Ingo Molnar wrote:

SNIP

> 
>   GEN      common-cmds.h
>   CC       perf-read-vdso32
>   CC       perf-read-vdsox32
>   CC       ui/gtk/browser.o
>   CC       ui/gtk/hists.o
>   CC       ui/gtk/setup.o
>   CC       ui/gtk/util.o
>   CC       ui/gtk/helpline.o
>   CC       ui/gtk/progress.o
>   CC       ui/gtk/annotate.o
>   CC       util/abspath.o
>   CC       fd/array.o
> 
> Auto-detecting system features:
>   CC       event-parse.o
> ...                        libelf: [ on  ]
>   PERF_VERSION = 4.4.rc2.g9327ca
> ...                           bpf: [ on  ]
> 
>   CC       util/alias.o
>   CC       libbpf.o
> 
> 
> while normally we'd first do feature detection, then only do the build (knowing 
> which features to build).

the bpf lib is doing its own feature detection, to be able
to stand alone.. I'll see if we could share detected features
somehow, so sub builds don't need to do that

> 
> Occasionally it also triggers a build failure:
> 
>   CC       plugin_kvm.o
>   CC       arch/common.o
>   CC       util/db-export.o
>   LD       plugin_kmem-in.o
> fixdep: error opening depfile: ./.plugin_kmem.o.d: No such file or directory
> /home/mingo/tip/tools/build/Makefile.build:77: recipe for target 'plugin_kmem.o' 
> failed
> make[3]: *** [plugin_kmem.o] Error 2
> Makefile:189: recipe for target 'plugin_kmem-in.o' failed
> make[2]: *** [plugin_kmem-in.o] Error 2
> Makefile.perf:424: recipe for target 'install-traceevent-plugins' failed
> make[1]: *** [install-traceevent-plugins] Error 2
> make[1]: *** Waiting for unfinished jobs....
> 
> that too seems to be a result of unwanted, over-eager parallelism.

hm, haven't seen that one for long time now ;-) will check

thanks,
jirka

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  8:28   ` Jiri Olsa
@ 2015-11-24  8:42     ` Ingo Molnar
  2015-11-24  9:26       ` Jiri Olsa
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2015-11-24  8:42 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo


* Jiri Olsa <jolsa@redhat.com> wrote:

> On Tue, Nov 24, 2015 at 09:10:42AM +0100, Ingo Molnar wrote:
> 
> SNIP
> 
> > 
> >   GEN      common-cmds.h
> >   CC       perf-read-vdso32
> >   CC       perf-read-vdsox32
> >   CC       ui/gtk/browser.o
> >   CC       ui/gtk/hists.o
> >   CC       ui/gtk/setup.o
> >   CC       ui/gtk/util.o
> >   CC       ui/gtk/helpline.o
> >   CC       ui/gtk/progress.o
> >   CC       ui/gtk/annotate.o
> >   CC       util/abspath.o
> >   CC       fd/array.o
> > 
> > Auto-detecting system features:
> >   CC       event-parse.o
> > ...                        libelf: [ on  ]
> >   PERF_VERSION = 4.4.rc2.g9327ca
> > ...                           bpf: [ on  ]
> > 
> >   CC       util/alias.o
> >   CC       libbpf.o
> > 
> > 
> > while normally we'd first do feature detection, then only do the build (knowing 
> > which features to build).
> 
> the bpf lib is doing its own feature detection, to be able
> to stand alone.. I'll see if we could share detected features
> somehow, so sub builds don't need to do that
> 
> > 
> > Occasionally it also triggers a build failure:
> > 
> >   CC       plugin_kvm.o
> >   CC       arch/common.o
> >   CC       util/db-export.o
> >   LD       plugin_kmem-in.o
> > fixdep: error opening depfile: ./.plugin_kmem.o.d: No such file or directory
> > /home/mingo/tip/tools/build/Makefile.build:77: recipe for target 'plugin_kmem.o' 
> > failed
> > make[3]: *** [plugin_kmem.o] Error 2
> > Makefile:189: recipe for target 'plugin_kmem-in.o' failed
> > make[2]: *** [plugin_kmem-in.o] Error 2
> > Makefile.perf:424: recipe for target 'install-traceevent-plugins' failed
> > make[1]: *** [install-traceevent-plugins] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > 
> > that too seems to be a result of unwanted, over-eager parallelism.
> 
> hm, haven't seen that one for long time now ;-) will check

So maybe that's a side effect, because I do:

  make clean install

and maybe 'clean' happens in parallel with 'install'?

Thanks,

	Ingo

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  8:42     ` Ingo Molnar
@ 2015-11-24  9:26       ` Jiri Olsa
  2015-11-24  9:47         ` Jiri Olsa
  2015-11-26  7:56         ` Ingo Molnar
  0 siblings, 2 replies; 38+ messages in thread
From: Jiri Olsa @ 2015-11-24  9:26 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

On Tue, Nov 24, 2015 at 09:42:10AM +0100, Ingo Molnar wrote:

SNIP

> > 
> > > 
> > > Occasionally it also triggers a build failure:
> > > 
> > >   CC       plugin_kvm.o
> > >   CC       arch/common.o
> > >   CC       util/db-export.o
> > >   LD       plugin_kmem-in.o
> > > fixdep: error opening depfile: ./.plugin_kmem.o.d: No such file or directory
> > > /home/mingo/tip/tools/build/Makefile.build:77: recipe for target 'plugin_kmem.o' 
> > > failed
> > > make[3]: *** [plugin_kmem.o] Error 2
> > > Makefile:189: recipe for target 'plugin_kmem-in.o' failed
> > > make[2]: *** [plugin_kmem-in.o] Error 2
> > > Makefile.perf:424: recipe for target 'install-traceevent-plugins' failed
> > > make[1]: *** [install-traceevent-plugins] Error 2
> > > make[1]: *** Waiting for unfinished jobs....
> > > 
> > > that too seems to be a result of unwanted, over-eager parallelism.
> > 
> > hm, haven't seen that one for long time now ;-) will check
> 
> So maybe that's a side effect, because I do:
> 
>   make clean install
> 
> and maybe 'clean' happens in parallel with 'install'?

the fixdep error indicates that it was invoked after building object
plugin_kmem-in.o, but it could not find its dep file (.plugin_kmem-in.o.d)
which is built within the object build.. so seems like race with clean
or other build of the same object

however ;-)

The 'Makefile' processing itself isn't paralel and will exec
clean and install targets serialized:

---
[root@intel-wildcatpass-07 perf]# make clean install
make -f Makefile.perf --no-print-directory -j88 O=  clean
  CLEAN    libtraceevent
  CLEAN    libapi
  CLEAN    libbpf
  CLEAN    config
  CLEAN    core-objs
  CLEAN    core-progs
  CLEAN    core-gen
  SUBDIR   Documentation
  CLEAN    Documentation
  CLEAN    python
  BUILD:   Doing 'make -j88' parallel build
make -f Makefile.perf --no-print-directory -j88 O=  install

Auto-detecting system features:
...                         dwarf: [ on  ]
...                         glibc: [ on  ]
---

I can't make that failure on 88 cpus server, I assume you can
reproduce this fairly easily?

Could you please share failing build output from:
  $ make V=1 clean install

thanks,
jirka


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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  9:26       ` Jiri Olsa
@ 2015-11-24  9:47         ` Jiri Olsa
  2015-11-26 11:00           ` Ingo Molnar
  2015-11-26  7:56         ` Ingo Molnar
  1 sibling, 1 reply; 38+ messages in thread
From: Jiri Olsa @ 2015-11-24  9:47 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

On Tue, Nov 24, 2015 at 10:26:18AM +0100, Jiri Olsa wrote:
> On Tue, Nov 24, 2015 at 09:42:10AM +0100, Ingo Molnar wrote:
> 
> SNIP
> 
> > > 
> > > > 
> > > > Occasionally it also triggers a build failure:
> > > > 
> > > >   CC       plugin_kvm.o
> > > >   CC       arch/common.o
> > > >   CC       util/db-export.o
> > > >   LD       plugin_kmem-in.o
> > > > fixdep: error opening depfile: ./.plugin_kmem.o.d: No such file or directory
> > > > /home/mingo/tip/tools/build/Makefile.build:77: recipe for target 'plugin_kmem.o' 
> > > > failed
> > > > make[3]: *** [plugin_kmem.o] Error 2
> > > > Makefile:189: recipe for target 'plugin_kmem-in.o' failed
> > > > make[2]: *** [plugin_kmem-in.o] Error 2
> > > > Makefile.perf:424: recipe for target 'install-traceevent-plugins' failed
> > > > make[1]: *** [install-traceevent-plugins] Error 2
> > > > make[1]: *** Waiting for unfinished jobs....
> > > > 
> > > > that too seems to be a result of unwanted, over-eager parallelism.
> > > 
> > > hm, haven't seen that one for long time now ;-) will check
> > 
> > So maybe that's a side effect, because I do:
> > 
> >   make clean install
> > 
> > and maybe 'clean' happens in parallel with 'install'?
> 
> the fixdep error indicates that it was invoked after building object
> plugin_kmem-in.o, but it could not find its dep file (.plugin_kmem-in.o.d)
> which is built within the object build.. so seems like race with clean
> or other build of the same object
> 
> however ;-)
> 
> The 'Makefile' processing itself isn't paralel and will exec
> clean and install targets serialized:
> 
> ---
> [root@intel-wildcatpass-07 perf]# make clean install
> make -f Makefile.perf --no-print-directory -j88 O=  clean
>   CLEAN    libtraceevent
>   CLEAN    libapi
>   CLEAN    libbpf
>   CLEAN    config
>   CLEAN    core-objs
>   CLEAN    core-progs
>   CLEAN    core-gen
>   SUBDIR   Documentation
>   CLEAN    Documentation
>   CLEAN    python
>   BUILD:   Doing 'make -j88' parallel build
> make -f Makefile.perf --no-print-directory -j88 O=  install
> 
> Auto-detecting system features:
> ...                         dwarf: [ on  ]
> ...                         glibc: [ on  ]
> ---
> 
> I can't make that failure on 88 cpus server, I assume you can
> reproduce this fairly easily?
> 
> Could you please share failing build output from:
>   $ make V=1 clean install
> 
> thanks,
> jirka
> 

I think I found one race..
 - having install-traceevent-plugins depend on $(LIBTRACEEVENT),
   plugins will not be built as its prereq. and the target
   install-traceevent-plugins itself will trigger plugins build
 - but plugins build is also triggered by perf build itself
   via libtraceevent_plugins target

so those 2 might race.. but as I said, I've never reproduced ;-)

Could you please give it a try?

thanks,
jirka


---
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 0d19d5447d6c..929a32ba15f5 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -420,7 +420,7 @@ $(LIBTRACEEVENT)-clean:
 	$(call QUIET_CLEAN, libtraceevent)
 	$(Q)$(MAKE) -C $(TRACE_EVENT_DIR) O=$(OUTPUT) clean >/dev/null
 
-install-traceevent-plugins: $(LIBTRACEEVENT)
+install-traceevent-plugins: libtraceevent_plugins
 	$(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) install_plugins
 
 $(LIBAPI): fixdep FORCE

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  8:10 ` Ingo Molnar
  2015-11-24  8:28   ` Jiri Olsa
@ 2015-11-24 10:28   ` Jiri Olsa
  2015-11-26  8:13   ` Ingo Molnar
  2 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2015-11-24 10:28 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

On Tue, Nov 24, 2015 at 09:10:42AM +0100, Ingo Molnar wrote:

SNIP

> >  tools/perf/util/unwind-libdw.c           |  53 +++++++++++-----
> >  tools/perf/util/unwind-libdw.h           |   2 +
> >  tools/perf/util/unwind-libunwind.c       |  60 +++++++++++-------
> >  11 files changed, 272 insertions(+), 39 deletions(-)
> >  create mode 100644 tools/perf/Documentation/perf-config.txt
> >  create mode 100644 tools/perf/builtin-config.c
> 
> Hm, I noticed something weird - I think it started with this pull request - the 
> feature detection build messages come mixed with the regular build:
> 
> triton:~/tip/tools/perf> make
>   BUILD:   Doing 'make -j12' parallel build
> 
> Auto-detecting system features:
> ...                         dwarf: [ on  ]
> ...                         glibc: [ on  ]
> ...                          gtk2: [ on  ]
> ...                      libaudit: [ on  ]
> ...                        libbfd: [ on  ]
> ...                        libelf: [ on  ]
> ...                       libnuma: [ on  ]
> ...        numa_num_possible_cpus: [ on  ]
> ...                       libperl: [ on  ]
> ...                     libpython: [ on  ]
> ...                      libslang: [ on  ]
> ...                     libunwind: [ on  ]
> ...            libdw-dwarf-unwind: [ on  ]
> ...                          zlib: [ on  ]
> ...                          lzma: [ on  ]
> ...                     get_cpuid: [ on  ]
> ...                           bpf: [ on  ]
> 
>   GEN      common-cmds.h
>   CC       perf-read-vdso32
>   CC       perf-read-vdsox32
>   CC       ui/gtk/browser.o
>   CC       ui/gtk/hists.o
>   CC       ui/gtk/setup.o
>   CC       ui/gtk/util.o
>   CC       ui/gtk/helpline.o
>   CC       ui/gtk/progress.o
>   CC       ui/gtk/annotate.o
>   CC       util/abspath.o
>   CC       fd/array.o
> 
> Auto-detecting system features:
>   CC       event-parse.o
> ...                        libelf: [ on  ]
>   PERF_VERSION = 4.4.rc2.g9327ca
> ...                           bpf: [ on  ]
> 
>   CC       util/alias.o
>   CC       libbpf.o


so how about we let perf do the overall checking and propagate
that via include file that will setup feature-$(feature) variables

if bpf is built by perf, perf passes this makefile include path
and bpf includes it.. otherwise it runs the standard detection

please test attached patch (bpf guys mainly ;-) )

if that works for you, I'll clean it up a bit and post

thanks,
jirka


---
diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
index 37ff4c9f92f1..a8a65ff010a4 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -131,6 +131,8 @@ ifeq ($(dwarf-post-unwind),1)
   FEATURE_DUMP += dwarf-post-unwind($(dwarf-post-unwind-text))
 endif
 
+FEATURE_INCLUDE_FILENAME = $(OUTPUT)FEATURE-DUMP$(FEATURE_USER).include
+
 # The $(feature_display) controls the default detection message
 # output. It's set if:
 # - detected features differes from stored features from
@@ -140,6 +142,8 @@ endif
 
 ifneq ("$(FEATURE_DUMP)","$(FEATURE_DUMP_FILE)")
   $(shell echo "$(FEATURE_DUMP)" > $(FEATURE_DUMP_FILENAME))
+  $(shell rm -f $(FEATURE_INCLUDE_FILENAME))
+  $(foreach feat,$(FEATURE_TESTS),$(shell echo "feature-$(feat)=$(feature-$(feat))" >> $(FEATURE_INCLUDE_FILENAME)))
   feature_display := 1
 endif
 
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index a3caaf3eafbd..0177bf81f826 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -71,7 +71,11 @@ FEATURE_DISPLAY = libelf bpf
 INCLUDES = -I. -I$(srctree)/tools/include -I$(srctree)/arch/$(ARCH)/include/uapi -I$(srctree)/include/uapi
 FEATURE_CHECK_CFLAGS-bpf = $(INCLUDES)
 
+ifeq ($(FEATURES),)
 include $(srctree)/tools/build/Makefile.feature
+else
+include $(FEATURES)
+endif
 
 export prefix libdir src obj
 
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 929a32ba15f5..4f18c1210509 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -431,7 +431,7 @@ $(LIBAPI)-clean:
 	$(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) clean >/dev/null
 
 $(LIBBPF): fixdep FORCE
-	$(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) $(OUTPUT)libbpf.a
+	$(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) $(OUTPUT)libbpf.a FEATURES=$(realpath $(OUTPUT)FEATURE-DUMP.include)
 
 $(LIBBPF)-clean:
 	$(call QUIET_CLEAN, libbpf)

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  9:26       ` Jiri Olsa
  2015-11-24  9:47         ` Jiri Olsa
@ 2015-11-26  7:56         ` Ingo Molnar
  2015-11-26  8:12           ` Ingo Molnar
  1 sibling, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2015-11-26  7:56 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo


* Jiri Olsa <jolsa@redhat.com> wrote:

> I can't make that failure on 88 cpus server, I assume you can
> reproduce this fairly easily?

Yeah, when it triggers it reproduces fairly easily - but it seems to be dependent 
on build timings. I don't use a large server for this test, just a single socket 
system with 6 cores / 12 CPUs.

> Could you please share failing build output from:
>   $ make V=1 clean install

The problem went away after I unpulled - I'll pull it again and will try to get 
you debug output.

Thanks,

	Ingo

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-26  7:56         ` Ingo Molnar
@ 2015-11-26  8:12           ` Ingo Molnar
  2015-11-26  9:09             ` Jiri Olsa
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2015-11-26  8:12 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

[-- Attachment #1: Type: text/plain, Size: 3013 bytes --]


* Ingo Molnar <mingo@kernel.org> wrote:

> > Could you please share failing build output from:
> >   $ make V=1 clean install
> 
> The problem went away after I unpulled - I'll pull it again and will try to get 
> you debug output.

Bugger, it does not reproduce after I re-pulled Arnaldo's original bits. I 
re-pulled bit for bit - yet something has changed that changed the timings.

One thing I did meanwhile: after a fairly long time I git-gc'ed my Git repo 
(auto-gc is turned off) - so maybe it's the anomalous execution length of the 
util/PERF-VERSION-GEN version generation script that triggers the race?

... and indeed: if I add a 'sleep 1' to the end of util/PERF-VERSION-GEN I 
sometimes get this failure:

  LD       plugin_jbd2-in.o
  CC       plugin_hrtimer.o
  CC       plugin_hrtimer.o
  LD       plugin_hrtimer-in.o
  CC       plugin_kmem.o
fixdep: error opening depfile: ./.plugin_hrtimer.o.d: No such file or directory
/home/mingo/tip/tools/build/Makefile.build:77: recipe for target 
'plugin_hrtimer.o' failed
make[3]: *** [plugin_hrtimer.o] Error 2
Makefile:189: recipe for target 'plugin_hrtimer-in.o' failed
make[2]: *** [plugin_hrtimer-in.o] Error 2
Makefile.perf:414: recipe for target 'libtraceevent_plugins' failed
make[1]: *** [libtraceevent_plugins] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC       plugin_kvm.o
  CC       builtin-sched.o
  CC       plugin_mac80211.o
  LD       plugin_kmem-in.o
  CC       util/help.o

Can you reproduce it by adding 'sleep 1' (or 'sleep 2') to the end of 
util/PERF-VERSION-GEN? (See the patch attached further below.)

The failure is sporadic even with the 'sleep 1' hack - I get a build failure 1 out 
of 3 times maybe:

triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done
Thu Nov 26 09:07:12 CET 2015 pass
Thu Nov 26 09:07:23 CET 2015 FAIL!

Interestingly it does not reproduce if I use '>FAIL.log' - I need to output the 
log into tmpfs - maybe the extra VFS synchronization if logging to the same 
filesystem where the build occurs hides the race?

With V=1 it takes a lot longer to reproduce:

triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install V=1 >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done
Thu Nov 26 09:08:08 CET 2015 pass
Thu Nov 26 09:08:20 CET 2015 pass
Thu Nov 26 09:08:32 CET 2015 pass
Thu Nov 26 09:08:43 CET 2015 pass
Thu Nov 26 09:08:55 CET 2015 pass
Thu Nov 26 09:09:06 CET 2015 pass
Thu Nov 26 09:09:17 CET 2015 pass
Thu Nov 26 09:09:29 CET 2015 pass
Thu Nov 26 09:09:41 CET 2015 FAIL!

I've attached the resulting FAIL.log.

Thanks,

	Ingo

 tools/perf/util/PERF-VERSION-GEN | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/PERF-VERSION-GEN b/tools/perf/util/PERF-VERSION-GEN
index 39f17507578d..2b94c25eb775 100755
--- a/tools/perf/util/PERF-VERSION-GEN
+++ b/tools/perf/util/PERF-VERSION-GEN
@@ -48,3 +48,4 @@ test "$VN" = "$VC" || {
 }
 
 
+sleep 1

[-- Attachment #2: FAIL.log --]
[-- Type: text/plain, Size: 282736 bytes --]

make -C /home/mingo/tip/tools/lib/traceevent/ O= clean >/dev/null
make -C /home/mingo/tip/tools/lib/api/ O= clean >/dev/null
make -C /home/mingo/tip/tools/lib/bpf/ O= clean >/dev/null
make -C /home/mingo/tip/tools/build/feature/ clean >/dev/null
rm -f libperf.a perf-archive perf-with-kcore 
find . -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
rm -f .config-detected
rm -f perf perf-read-vdso32 perf-read-vdsox32 perf-archive perf-with-kcore libperf-gtk.so perf perf-read-vdso32 perf-read-vdsox32
rm -f  *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags cscope* PERF-VERSION-FILE FEATURE-DUMP util/*-bison* util/*-flex* \
	util/intel-pt-decoder/inat-tables.c
make  -C Documentation  clean
rm -f perf-config.xml perf-kvm.xml perf-timechart.xml perf-trace.xml perf-data.xml perf-diff.xml perf-record.xml perf-help.xml perf-lock.xml perf-test.xml perf-script.xml perf-probe.xml perf-buildid-cache.xml perf-archive.xml perf-bench.xml perf-mem.xml perf-evlist.xml perf-sched.xml perf-annotate.xml perf-stat.xml perf-buildid-list.xml perf-script-perl.xml perf-report.xml perf-script-python.xml perf-list.xml perf-kmem.xml perf-inject.xml perf-top.xml perf.xml perf-config.xml+ perf-kvm.xml+ perf-timechart.xml+ perf-trace.xml+ perf-data.xml+ perf-diff.xml+ perf-record.xml+ perf-help.xml+ perf-lock.xml+ perf-test.xml+ perf-script.xml+ perf-probe.xml+ perf-buildid-cache.xml+ perf-archive.xml+ perf-bench.xml+ perf-mem.xml+ perf-evlist.xml+ perf-sched.xml+ perf-annotate.xml+ perf-stat.xml+ perf-buildid-list.xml+ perf-script-perl.xml+ perf-report.xml+ perf-script-python.xml+ perf-list.xml+ perf-kmem.xml+ perf-inject.xml+ perf-top.xml+ perf.xml+ perf-config.html perf-kvm.html perf-timechart.html perf-trace.html perf-data.html perf-diff.html perf-record.html perf-help.html perf-lock.html perf-test.html perf-script.html perf-probe.html perf-buildid-cache.html perf-archive.html perf-bench.html perf-mem.html perf-evlist.html perf-sched.html perf-annotate.html perf-stat.html perf-buildid-list.html perf-script-perl.html perf-report.html perf-script-python.html perf-list.html perf-kmem.html perf-inject.html perf-top.html perf.html perf-config.html+ perf-kvm.html+ perf-timechart.html+ perf-trace.html+ perf-data.html+ perf-diff.html+ perf-record.html+ perf-help.html+ perf-lock.html+ perf-test.html+ perf-script.html+ perf-probe.html+ perf-buildid-cache.html+ perf-archive.html+ perf-bench.html+ perf-mem.html+ perf-evlist.html+ perf-sched.html+ perf-annotate.html+ perf-stat.html+ perf-buildid-list.html+ perf-script-perl.html+ perf-report.html+ perf-script-python.html+ perf-list.html+ perf-kmem.html+ perf-inject.html+ perf-top.html+ perf.html+ perf-config.html perf-kvm.html perf-timechart.html perf-trace.html perf-data.html perf-diff.html perf-record.html perf-help.html perf-lock.html perf-test.html perf-script.html perf-probe.html perf-buildid-cache.html perf-archive.html perf-bench.html perf-mem.html perf-evlist.html perf-sched.html perf-annotate.html perf-stat.html perf-buildid-list.html perf-script-perl.html perf-report.html perf-script-python.html perf-list.html perf-kmem.html perf-inject.html perf-top.html perf.html technical/api-index.html perf-config.1 perf-kvm.1 perf-timechart.1 perf-trace.1 perf-data.1 perf-diff.1 perf-record.1 perf-help.1 perf-lock.1 perf-test.1 perf-script.1 perf-probe.1 perf-buildid-cache.1 perf-archive.1 perf-bench.1 perf-mem.1 perf-evlist.1 perf-sched.1 perf-annotate.1 perf-stat.1 perf-buildid-list.1 perf-script-perl.1 perf-report.1 perf-script-python.1 perf-list.1 perf-kmem.1 perf-inject.1 perf-top.1 perf.1   *.texi *.texi+ *.texi++ perf.info perfman.info howto-index.txt howto/*.html doc.dep technical/api-*.html technical/api-index.txt cmds-ancillaryinterrogators.txt cmds-ancillarymanipulators.txt cmds-mainporcelain.txt cmds-plumbinginterrogators.txt cmds-plumbingmanipulators.txt cmds-synchingrepositories.txt cmds-synchelpers.txt cmds-purehelpers.txt cmds-foreignscminterface.txt *.made
rm -f -r python_ext_build/ python/perf.so
  BUILD:   Doing 'make ^[[33m-j12^[[m' parallel build

Auto-detecting system features:
...                         dwarf: [ ^[[32mon^[[m  ]
...                         glibc: [ ^[[32mon^[[m  ]
...                          gtk2: [ ^[[32mon^[[m  ]
...                      libaudit: [ ^[[32mon^[[m  ]
...                        libbfd: [ ^[[32mon^[[m  ]
...                        libelf: [ ^[[32mon^[[m  ]
...                       libnuma: [ ^[[32mon^[[m  ]
...        numa_num_possible_cpus: [ ^[[32mon^[[m  ]
...                       libperl: [ ^[[32mon^[[m  ]
...                     libpython: [ ^[[32mon^[[m  ]
...                      libslang: [ ^[[32mon^[[m  ]
...                     libunwind: [ ^[[32mon^[[m  ]
...            libdw-dwarf-unwind: [ ^[[32mon^[[m  ]
...                          zlib: [ ^[[32mon^[[m  ]
...                          lzma: [ ^[[32mon^[[m  ]
...                     get_cpuid: [ ^[[32mon^[[m  ]
...                           bpf: [ ^[[32mon^[[m  ]

$(:)
make -C /home/mingo/tip/tools/build fixdep
/bin/sh util/PERF-VERSION-GEN 
. util/generate-cmdlist.sh > common-cmds.h+ && mv common-cmds.h+ common-cmds.h
make -f /home/mingo/tip/tools/build/Makefile.build dir=. obj=fixdep
gcc -m32  -Wall -Werror -o perf-read-vdso32 perf-read-vdso.c
gcc -mx32  -Wall -Werror -o perf-read-vdsox32 perf-read-vdso.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=. obj=gtk
make  -C Documentation  try-install-man
make -f /home/mingo/tip/tools/build/Makefile.build dir=./ui/gtk obj=gtk
  gcc -Wp,-MD,ui/gtk/.browser.o.d,-MT,ui/gtk/browser.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/browser.o ui/gtk/browser.c
  gcc -Wp,-MD,ui/gtk/.hists.o.d,-MT,ui/gtk/hists.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/hists.o ui/gtk/hists.c
  gcc -Wp,-MD,ui/gtk/.setup.o.d,-MT,ui/gtk/setup.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/setup.o ui/gtk/setup.c
  gcc -Wp,-MD,ui/gtk/.util.o.d,-MT,ui/gtk/util.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/util.o ui/gtk/util.c
  gcc -Wp,-MD,ui/gtk/.helpline.o.d,-MT,ui/gtk/helpline.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/helpline.o ui/gtk/helpline.c
  gcc -Wp,-MD,ui/gtk/.progress.o.d,-MT,ui/gtk/progress.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/progress.o ui/gtk/progress.c
  gcc -Wp,-MD,ui/gtk/.annotate.o.d,-MT,ui/gtk/annotate.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"  -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -c -o ui/gtk/annotate.o ui/gtk/annotate.c
rm -f perf-data.xml+ perf-data.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-data.xml+ perf-data.txt && \
mv perf-data.xml+ perf-data.xml
rm -f perf-timechart.xml+ perf-timechart.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-timechart.xml+ perf-timechart.txt && \
mv perf-timechart.xml+ perf-timechart.xml
rm -f perf-diff.xml+ perf-diff.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-diff.xml+ perf-diff.txt && \
mv perf-diff.xml+ perf-diff.xml
  PERF_VERSION = 4.4.rc2.g9327ca
make -f /home/mingo/tip/tools/build/Makefile.build dir=. obj=libperf
make -f /home/mingo/tip/tools/build/Makefile.build dir=./util obj=libperf
  gcc -Wp,-MD,util/.abspath.o.d,-MT,util/abspath.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/abspath.o util/abspath.c
  gcc -Wp,-MD,util/.alias.o.d,-MT,util/alias.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/alias.o util/alias.c
  gcc -Wp,-MD,util/.annotate.o.d,-MT,util/annotate.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/annotate.o util/annotate.c
  gcc -Wp,-MD,util/.build-id.o.d,-MT,util/build-id.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/build-id.o util/build-id.c
rm -f perf-trace.xml+ perf-trace.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-trace.xml+ perf-trace.txt && \
mv perf-trace.xml+ perf-trace.xml
  gcc -Wp,-MD,util/.config.o.d,-MT,util/config.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DETC_PERFCONFIG="BUILD_STR(etc/perfconfig)"  -c -o util/config.o util/config.c
rm -f perf-buildid-cache.xml+ perf-buildid-cache.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-buildid-cache.xml+ perf-buildid-cache.txt && \
mv perf-buildid-cache.xml+ perf-buildid-cache.xml
  gcc -Wp,-MD,util/.ctype.o.d,-MT,util/ctype.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/ctype.o util/ctype.c
rm -f perf-record.xml+ perf-record.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-record.xml+ perf-record.txt && \
mv perf-record.xml+ perf-record.xml
rm -f perf-help.xml+ perf-help.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-help.xml+ perf-help.txt && \
mv perf-help.xml+ perf-help.xml
rm -f perf-lock.xml+ perf-lock.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-lock.xml+ perf-lock.txt && \
mv perf-lock.xml+ perf-lock.xml
make -C /home/mingo/tip/tools/lib/api/ O= libapi.a
make -f /home/mingo/tip/tools/build/Makefile.build dir=./fd obj=libapi
  gcc -Wp,-MD,fd/.array.o.d,-MT,fd/array.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat  -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s"   -c -o fd/array.o fd/array.c
rm -f perf-archive.xml+ perf-archive.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-archive.xml+ perf-archive.txt && \
mv perf-archive.xml+ perf-archive.xml
   ld -r -o ui/gtk/gtk-in.o  ui/gtk/browser.o ui/gtk/hists.o ui/gtk/setup.o ui/gtk/util.o ui/gtk/helpline.o ui/gtk/progress.o ui/gtk/annotate.o
   ld -r -o fd/libapi-in.o  fd/array.o
make -f /home/mingo/tip/tools/build/Makefile.build dir=./fs obj=libapi
  gcc -Wp,-MD,fs/.fs.o.d,-MT,fs/fs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat  -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s"   -c -o fs/fs.o fs/fs.c
   ld -r -o gtk-in.o  ui/gtk/gtk-in.o
  gcc -Wp,-MD,util/.db-export.o.d,-MT,util/db-export.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/db-export.o util/db-export.c
make -C /home/mingo/tip/tools/lib/traceevent/ plugin_dir= O= libtraceevent.a
  gcc -Wp,-MD,./.event-parse.o.d,-MT,event-parse.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o event-parse.o event-parse.c
  gcc -Wp,-MD,./.event-plugin.o.d,-MT,event-plugin.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o event-plugin.o event-plugin.c
  gcc -Wp,-MD,./.trace-seq.o.d,-MT,trace-seq.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o trace-seq.o trace-seq.c
  gcc -Wp,-MD,./.parse-filter.o.d,-MT,parse-filter.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o parse-filter.o parse-filter.c
  gcc -Wp,-MD,./.parse-utils.o.d,-MT,parse-utils.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o parse-utils.o parse-utils.c
rm -f perf-script.xml+ perf-script.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-script.xml+ perf-script.txt && \
mv perf-script.xml+ perf-script.xml
  gcc -Wp,-MD,./.kbuffer-parse.o.d,-MT,kbuffer-parse.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o kbuffer-parse.o kbuffer-parse.c
rm -f perf-probe.xml+ perf-probe.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-probe.xml+ perf-probe.txt && \
mv perf-probe.xml+ perf-probe.xml
  gcc -Wp,-MD,fs/.tracing_path.o.d,-MT,fs/tracing_path.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat  -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s"   -c -o fs/tracing_path.o fs/tracing_path.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=./arch obj=libperf
  gcc -Wp,-MD,arch/.common.o.d,-MT,arch/common.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/common.o arch/common.c
rm -f perf-config.xml+ perf-config.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-config.xml+ perf-config.txt && \
mv perf-config.xml+ perf-config.xml
rm -f perf-bench.xml+ perf-bench.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-bench.xml+ perf-bench.txt && \
mv perf-bench.xml+ perf-bench.xml
   ld -r -o fs/libapi-in.o  fs/fs.o fs/tracing_path.o
  gcc -Wp,-MD,./.cpu.o.d,-MT,cpu.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat  -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s"   -c -o cpu.o cpu.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=./arch/x86 obj=libperf
make -f /home/mingo/tip/tools/build/Makefile.build dir=./arch/x86/util obj=libperf
  gcc -Wp,-MD,arch/x86/util/.header.o.d,-MT,arch/x86/util/header.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/header.o arch/x86/util/header.c
   ld -r -o libapi-in.o  fd/libapi-in.o fs/libapi-in.o cpu.o
rm -f libapi.a && ar rcs libapi.a libapi-in.o
make -C /home/mingo/tip/tools/lib/bpf/ O= libbpf.a
  gcc -Wp,-MD,util/.env.o.d,-MT,util/env.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/env.o util/env.c

Auto-detecting system features:
...                        libelf: [ ^[[32mon^[[m  ]
...                           bpf: [ ^[[32mon^[[m  ]

  gcc -Wp,-MD,./.libbpf.o.d,-MT,libbpf.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Werror -Wall -fPIC -I. -I/home/mingo/tip/tools/include -I/home/mingo/tip/arch//include/uapi -I/home/mingo/tip/include/uapi -D"BUILD_STR(s)=#s"   -c -o libbpf.o libbpf.c
rm -f perf-mem.xml+ perf-mem.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-mem.xml+ perf-mem.txt && \
mv perf-mem.xml+ perf-mem.xml
  gcc -Wp,-MD,arch/x86/util/.tsc.o.d,-MT,arch/x86/util/tsc.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/tsc.o arch/x86/util/tsc.c
  gcc -Wp,-MD,arch/x86/util/.pmu.o.d,-MT,arch/x86/util/pmu.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/pmu.o arch/x86/util/pmu.c
  gcc -Wp,-MD,arch/x86/util/.kvm-stat.o.d,-MT,arch/x86/util/kvm-stat.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/kvm-stat.o arch/x86/util/kvm-stat.c
touch PERF-VERSION-FILE
  gcc -Wp,-MD,arch/x86/util/.perf_regs.o.d,-MT,arch/x86/util/perf_regs.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/perf_regs.o arch/x86/util/perf_regs.c
rm -f perf-evlist.xml+ perf-evlist.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-evlist.xml+ perf-evlist.txt && \
mv perf-evlist.xml+ perf-evlist.xml
rm -f perf-sched.xml+ perf-sched.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-sched.xml+ perf-sched.txt && \
mv perf-sched.xml+ perf-sched.xml
  gcc -Wp,-MD,./.bpf.o.d,-MT,bpf.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Werror -Wall -fPIC -I. -I/home/mingo/tip/tools/include -I/home/mingo/tip/arch//include/uapi -I/home/mingo/tip/include/uapi -D"BUILD_STR(s)=#s"   -c -o bpf.o bpf.c
  gcc -Wp,-MD,util/.environment.o.d,-MT,util/environment.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/environment.o util/environment.c
  gcc -Wp,-MD,arch/x86/util/.dwarf-regs.o.d,-MT,arch/x86/util/dwarf-regs.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/dwarf-regs.o arch/x86/util/dwarf-regs.c
   ld -r -o libtraceevent-in.o  event-parse.o event-plugin.o trace-seq.o parse-filter.o parse-utils.o kbuffer-parse.o
rm -f libtraceevent.a; ar rcs libtraceevent.a libtraceevent-in.o
make -C /home/mingo/tip/tools/lib/traceevent/ plugin_dir= O= plugins
   ld -r -o libbpf-in.o  libbpf.o bpf.o
rm -f libbpf.a; ar rcs libbpf.a libbpf-in.o
  gcc -Wp,-MD,./.plugin_jbd2.o.d,-MT,plugin_jbd2.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_jbd2.o plugin_jbd2.c
install 'perf-archive.sh' 'perf-archive'
install 'perf-with-kcore.sh' 'perf-with-kcore'
make -C /home/mingo/tip/tools/lib/traceevent/ plugin_dir= O= install_plugins
rm -f perf-annotate.xml+ perf-annotate.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-annotate.xml+ perf-annotate.txt && \
mv perf-annotate.xml+ perf-annotate.xml
  gcc -Wp,-MD,./.plugin_jbd2.o.d,-MT,plugin_jbd2.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_jbd2.o plugin_jbd2.c
  gcc -Wp,-MD,arch/x86/util/.unwind-libunwind.o.d,-MT,arch/x86/util/unwind-libunwind.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/unwind-libunwind.o arch/x86/util/unwind-libunwind.c
   ld -r -o plugin_jbd2-in.o  plugin_jbd2.o
fixdep: error opening depfile: ./.plugin_jbd2.o.d: No such file or directory
/home/mingo/tip/tools/build/Makefile.build:77: recipe for target 'plugin_jbd2.o' failed
make[3]: *** [plugin_jbd2.o] Error 2
Makefile:189: recipe for target 'plugin_jbd2-in.o' failed
make[2]: *** [plugin_jbd2-in.o] Error 2
Makefile.perf:424: recipe for target 'install-traceevent-plugins' failed
make[1]: *** [install-traceevent-plugins] Error 2
make[1]: *** Waiting for unfinished jobs....
rm -f perf-kvm.xml+ perf-kvm.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-kvm.xml+ perf-kvm.txt && \
mv perf-kvm.xml+ perf-kvm.xml
  gcc -Wp,-MD,util/.event.o.d,-MT,util/event.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/event.o util/event.c
  gcc -Wp,-MD,./.plugin_hrtimer.o.d,-MT,plugin_hrtimer.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_hrtimer.o plugin_hrtimer.c
  gcc -Wp,-MD,arch/x86/util/.auxtrace.o.d,-MT,arch/x86/util/auxtrace.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/auxtrace.o arch/x86/util/auxtrace.c
   ld -r -o plugin_hrtimer-in.o  plugin_hrtimer.o
  gcc -Wp,-MD,./.plugin_kmem.o.d,-MT,plugin_kmem.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_kmem.o plugin_kmem.c
rm -f perf-top.xml+ perf-top.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-top.xml+ perf-top.txt && \
mv perf-top.xml+ perf-top.xml
  gcc -Wp,-MD,arch/x86/util/.intel-pt.o.d,-MT,arch/x86/util/intel-pt.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/intel-pt.o arch/x86/util/intel-pt.c
   ld -r -o plugin_kmem-in.o  plugin_kmem.o
  gcc -Wp,-MD,./.plugin_kvm.o.d,-MT,plugin_kvm.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_kvm.o plugin_kvm.c
  gcc -Wp,-MD,./.plugin_mac80211.o.d,-MT,plugin_mac80211.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_mac80211.o plugin_mac80211.c
  gcc -Wp,-MD,util/.evlist.o.d,-MT,util/evlist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/evlist.o util/evlist.c
rm -f perf-stat.xml+ perf-stat.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-stat.xml+ perf-stat.txt && \
mv perf-stat.xml+ perf-stat.xml
rm -f perf-buildid-list.xml+ perf-buildid-list.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-buildid-list.xml+ perf-buildid-list.txt && \
mv perf-buildid-list.xml+ perf-buildid-list.xml
   ld -r -o plugin_mac80211-in.o  plugin_mac80211.o
rm -f perf-script-perl.xml+ perf-script-perl.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-script-perl.xml+ perf-script-perl.txt && \
mv perf-script-perl.xml+ perf-script-perl.xml
  gcc -Wp,-MD,./.plugin_sched_switch.o.d,-MT,plugin_sched_switch.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_sched_switch.o plugin_sched_switch.c
  gcc -Wp,-MD,util/.evsel.o.d,-MT,util/evsel.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/evsel.o util/evsel.c
   ld -r -o plugin_kvm-in.o  plugin_kvm.o
  gcc -Wp,-MD,./.plugin_function.o.d,-MT,plugin_function.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_function.o plugin_function.c
   ld -r -o plugin_sched_switch-in.o  plugin_sched_switch.o
  gcc -Wp,-MD,./.plugin_xen.o.d,-MT,plugin_xen.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_xen.o plugin_xen.c
   ld -r -o plugin_xen-in.o  plugin_xen.o
   ld -r -o plugin_function-in.o  plugin_function.o
  gcc -Wp,-MD,./.plugin_cfg80211.o.d,-MT,plugin_cfg80211.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_cfg80211.o plugin_cfg80211.c
  gcc -Wp,-MD,./.plugin_scsi.o.d,-MT,plugin_scsi.o -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -D"BUILD_STR(s)=#s"   -c -o plugin_scsi.o plugin_scsi.c
rm -f perf-report.xml+ perf-report.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-report.xml+ perf-report.txt && \
mv perf-report.xml+ perf-report.xml
   ld -r -o plugin_scsi-in.o  plugin_scsi.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_jbd2.so plugin_jbd2-in.o
   ld -r -o plugin_cfg80211-in.o  plugin_cfg80211.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_hrtimer.so plugin_hrtimer-in.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_kmem.so plugin_kmem-in.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_kvm.so plugin_kvm-in.o
  gcc -Wp,-MD,util/.exec_cmd.o.d,-MT,util/exec_cmd.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DPERF_EXEC_PATH="BUILD_STR(libexec/perf-core)" -DPREFIX="BUILD_STR(/home/mingo)"  -c -o util/exec_cmd.o util/exec_cmd.c
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_mac80211.so plugin_mac80211-in.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_sched_switch.so plugin_sched_switch-in.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_function.so plugin_function-in.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_xen.so plugin_xen-in.o
rm -f perf-script-python.xml+ perf-script-python.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-script-python.xml+ perf-script-python.txt && \
mv perf-script-python.xml+ perf-script-python.xml
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_scsi.so plugin_scsi-in.o
gcc -g -Wall -fPIC  -I. -I /home/mingo/tip/tools/include    -D_GNU_SOURCE -shared -nostartfiles -o plugin_cfg80211.so plugin_cfg80211-in.o
  gcc -Wp,-MD,util/.find_next_bit.o.d,-MT,util/find_next_bit.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(etc/perfconfig)"  -c -o util/find_next_bit.o ../lib/util/find_next_bit.c
rm -f perf-list.xml+ perf-list.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-list.xml+ perf-list.txt && \
mv perf-list.xml+ perf-list.xml
  gcc -Wp,-MD,util/.help.o.d,-MT,util/help.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/help.o util/help.c
  gcc -Wp,-MD,arch/x86/util/.intel-bts.o.d,-MT,arch/x86/util/intel-bts.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/util/intel-bts.o arch/x86/util/intel-bts.c
  gcc -Wp,-MD,util/.kallsyms.o.d,-MT,util/kallsyms.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/kallsyms.o ../lib/symbol/kallsyms.c
  gcc -Wp,-MD,util/.levenshtein.o.d,-MT,util/levenshtein.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/levenshtein.o util/levenshtein.c
rm -f perf-test.xml+ perf-test.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-test.xml+ perf-test.txt && \
mv perf-test.xml+ perf-test.xml
rm -f perf-kmem.xml+ perf-kmem.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-kmem.xml+ perf-kmem.txt && \
mv perf-kmem.xml+ perf-kmem.xml
  gcc -Wp,-MD,util/.llvm-utils.o.d,-MT,util/llvm-utils.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/llvm-utils.o util/llvm-utils.c
  gcc -Wp,-MD,util/.parse-options.o.d,-MT,util/parse-options.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/parse-options.o util/parse-options.c
   ld -r -o arch/x86/util/libperf-in.o  arch/x86/util/header.o arch/x86/util/tsc.o arch/x86/util/pmu.o arch/x86/util/kvm-stat.o arch/x86/util/perf_regs.o arch/x86/util/dwarf-regs.o arch/x86/util/unwind-libunwind.o arch/x86/util/auxtrace.o arch/x86/util/intel-pt.o arch/x86/util/intel-bts.o
make -f /home/mingo/tip/tools/build/Makefile.build dir=./arch/x86/tests obj=libperf
  gcc -Wp,-MD,arch/x86/tests/.regs_load.o.d,-MT,arch/x86/tests/regs_load.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/regs_load.o arch/x86/tests/regs_load.S
bison -v util/parse-events.y -d  -o util/parse-events-bison.c -p parse_events_
  gcc -Wp,-MD,arch/x86/tests/.dwarf-unwind.o.d,-MT,arch/x86/tests/dwarf-unwind.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/dwarf-unwind.o arch/x86/tests/dwarf-unwind.c
  gcc -Wp,-MD,arch/x86/tests/.arch-tests.o.d,-MT,arch/x86/tests/arch-tests.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/arch-tests.o arch/x86/tests/arch-tests.c
  gcc -Wp,-MD,arch/x86/tests/.rdpmc.o.d,-MT,arch/x86/tests/rdpmc.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/rdpmc.o arch/x86/tests/rdpmc.c
  gcc -Wp,-MD,arch/x86/tests/.perf-time-to-tsc.o.d,-MT,arch/x86/tests/perf-time-to-tsc.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/perf-time-to-tsc.o arch/x86/tests/perf-time-to-tsc.c
  gcc -Wp,-MD,util/.perf_regs.o.d,-MT,util/perf_regs.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/perf_regs.o util/perf_regs.c
rm -f perf-inject.xml+ perf-inject.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf-inject.xml+ perf-inject.txt && \
mv perf-inject.xml+ perf-inject.xml
rm -f perf.xml+ perf.xml && \
asciidoc -b docbook -d manpage -f asciidoc.conf \
	--unsafe -aperf_version= -o perf.xml+ perf.txt && \
mv perf.xml+ perf.xml
  gcc -Wp,-MD,util/.path.o.d,-MT,util/path.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/path.o util/path.c
  gcc -Wp,-MD,arch/x86/tests/.insn-x86.o.d,-MT,arch/x86/tests/insn-x86.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/insn-x86.o arch/x86/tests/insn-x86.c
rm -f perf-data.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-data.xml
  gcc -Wp,-MD,arch/x86/tests/.intel-cqm.o.d,-MT,arch/x86/tests/intel-cqm.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o arch/x86/tests/intel-cqm.o arch/x86/tests/intel-cqm.c
  gcc -Wp,-MD,util/.rbtree.o.d,-MT,util/rbtree.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(etc/perfconfig)"  -c -o util/rbtree.o ../lib/rbtree.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=./ui obj=libperf
  gcc -Wp,-MD,ui/.setup.o.d,-MT,ui/setup.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DLIBDIR="BUILD_STR()"  -c -o ui/setup.o ui/setup.c
rm -f perf-timechart.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-timechart.xml
make -f /home/mingo/tip/tools/build/Makefile.build dir=./scripts obj=libperf
make -f /home/mingo/tip/tools/build/Makefile.build dir=./scripts/perl/Perf-Trace-Util obj=libperf
  gcc -Wp,-MD,scripts/perl/Perf-Trace-Util/.Context.o.d,-MT,scripts/perl/Perf-Trace-Util/Context.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE  -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-undef -Wno-switch-default  -c -o scripts/perl/Perf-Trace-Util/Context.o scripts/perl/Perf-Trace-Util/Context.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=./scripts/python/Perf-Trace-Util obj=libperf
  gcc -Wp,-MD,scripts/python/Perf-Trace-Util/.Context.o.d,-MT,scripts/python/Perf-Trace-Util/Context.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7  -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security  -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs  -c -o scripts/python/Perf-Trace-Util/Context.o scripts/python/Perf-Trace-Util/Context.c
  gcc -Wp,-MD,util/.libstring.o.d,-MT,util/libstring.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(etc/perfconfig)"  -c -o util/libstring.o ../lib/string.c
  gcc -Wp,-MD,util/.bitmap.o.d,-MT,util/bitmap.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/bitmap.o util/bitmap.c
  gcc -Wp,-MD,ui/.helpline.o.d,-MT,ui/helpline.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/helpline.o ui/helpline.c
   ld -r -o arch/x86/tests/libperf-in.o  arch/x86/tests/regs_load.o arch/x86/tests/dwarf-unwind.o arch/x86/tests/arch-tests.o arch/x86/tests/rdpmc.o arch/x86/tests/perf-time-to-tsc.o arch/x86/tests/insn-x86.o arch/x86/tests/intel-cqm.o
rm -f perf-diff.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-diff.xml
   ld -r -o arch/x86/libperf-in.o  arch/x86/util/libperf-in.o arch/x86/tests/libperf-in.o
  gcc -Wp,-MD,util/.hweight.o.d,-MT,util/hweight.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(etc/perfconfig)"  -c -o util/hweight.o ../lib/hweight.c
   ld -r -o arch/libperf-in.o  arch/common.o arch/x86/libperf-in.o
rm -f perf-trace.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-trace.xml
rm -f perf-buildid-cache.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-buildid-cache.xml
rm -f perf-record.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-record.xml
  gcc -Wp,-MD,util/.run-command.o.d,-MT,util/run-command.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/run-command.o util/run-command.c
rm -f perf-help.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-help.xml
   ld -r -o scripts/python/Perf-Trace-Util/libperf-in.o  scripts/python/Perf-Trace-Util/Context.o
  gcc -Wp,-MD,ui/.progress.o.d,-MT,ui/progress.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/progress.o ui/progress.c
  gcc -Wp,-MD,util/.quote.o.d,-MT,util/quote.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/quote.o util/quote.c
  gcc -Wp,-MD,util/.strbuf.o.d,-MT,util/strbuf.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/strbuf.o util/strbuf.c
   ld -r -o scripts/perl/Perf-Trace-Util/libperf-in.o  scripts/perl/Perf-Trace-Util/Context.o
   ld -r -o scripts/libperf-in.o  scripts/perl/Perf-Trace-Util/libperf-in.o scripts/python/Perf-Trace-Util/libperf-in.o
  gcc -Wp,-MD,ui/.util.o.d,-MT,ui/util.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/util.o ui/util.c
  gcc -Wp,-MD,ui/.hist.o.d,-MT,ui/hist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/hist.o ui/hist.c
  gcc -Wp,-MD,ui/stdio/.hist.o.d,-MT,ui/stdio/hist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/stdio/hist.o ui/stdio/hist.c
rm -f perf-lock.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-lock.xml
rm -f perf-archive.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-archive.xml
  gcc -Wp,-MD,ui/.browser.o.d,-MT,ui/browser.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST  -c -o ui/browser.o ui/browser.c
  gcc -Wp,-MD,util/.string.o.d,-MT,util/string.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/string.o util/string.c
rm -f perf-script.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-script.xml
  gcc -Wp,-MD,util/.strlist.o.d,-MT,util/strlist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/strlist.o util/strlist.c
  gcc -Wp,-MD,util/.strfilter.o.d,-MT,util/strfilter.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/strfilter.o util/strfilter.c
rm -f perf-probe.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-probe.xml
rm -f perf-config.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-config.xml
make -f /home/mingo/tip/tools/build/Makefile.build dir=./ui/browsers obj=libperf
  gcc -Wp,-MD,ui/browsers/.annotate.o.d,-MT,ui/browsers/annotate.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST  -c -o ui/browsers/annotate.o ui/browsers/annotate.c
rm -f perf-bench.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-bench.xml
rm -f perf-mem.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-mem.xml
make -f /home/mingo/tip/tools/build/Makefile.build dir=./ui/tui obj=libperf
  gcc -Wp,-MD,ui/tui/.setup.o.d,-MT,ui/tui/setup.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/tui/setup.o ui/tui/setup.c
  gcc -Wp,-MD,ui/tui/.util.o.d,-MT,ui/tui/util.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/tui/util.o ui/tui/util.c
  gcc -Wp,-MD,ui/tui/.helpline.o.d,-MT,ui/tui/helpline.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/tui/helpline.o ui/tui/helpline.c
rm -f perf-evlist.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-evlist.xml
rm -f perf-sched.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-sched.xml
  gcc -Wp,-MD,util/.top.o.d,-MT,util/top.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/top.o util/top.c
  gcc -Wp,-MD,util/.usage.o.d,-MT,util/usage.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/usage.o util/usage.c
  gcc -Wp,-MD,ui/tui/.progress.o.d,-MT,ui/tui/progress.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/tui/progress.o ui/tui/progress.c
  gcc -Wp,-MD,util/.wrapper.o.d,-MT,util/wrapper.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/wrapper.o util/wrapper.c
rm -f perf-annotate.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-annotate.xml
  gcc -Wp,-MD,util/.sigchain.o.d,-MT,util/sigchain.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/sigchain.o util/sigchain.c
   ld -r -o ui/tui/libperf-in.o  ui/tui/setup.o ui/tui/util.o ui/tui/helpline.o ui/tui/progress.o
rm -f perf-kvm.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-kvm.xml
  gcc -Wp,-MD,ui/browsers/.hists.o.d,-MT,ui/browsers/hists.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST  -c -o ui/browsers/hists.o ui/browsers/hists.c
  gcc -Wp,-MD,util/.dso.o.d,-MT,util/dso.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/dso.o util/dso.c
rm -f perf-top.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-top.xml
rm -f perf-stat.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-stat.xml
  gcc -Wp,-MD,util/.symbol.o.d,-MT,util/symbol.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/symbol.o util/symbol.c
  gcc -Wp,-MD,util/.color.o.d,-MT,util/color.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/color.o util/color.c
  gcc -Wp,-MD,util/.pager.o.d,-MT,util/pager.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/pager.o util/pager.c
  gcc -Wp,-MD,util/.header.o.d,-MT,util/header.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/header.o util/header.c
  gcc -Wp,-MD,util/.callchain.o.d,-MT,util/callchain.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/callchain.o util/callchain.c
rm -f perf-buildid-list.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-buildid-list.xml
  gcc -Wp,-MD,util/.values.o.d,-MT,util/values.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/values.o util/values.c
rm -f perf-script-perl.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-script-perl.xml
rm -f perf-report.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-report.xml
  gcc -Wp,-MD,util/.debug.o.d,-MT,util/debug.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/debug.o util/debug.c
rm -f perf-script-python.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-script-python.xml
rm -f perf-list.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-list.xml
rm -f perf-test.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-test.xml
  gcc -Wp,-MD,util/.machine.o.d,-MT,util/machine.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/machine.o util/machine.c
  gcc -Wp,-MD,util/.map.o.d,-MT,util/map.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/map.o util/map.c
  gcc -Wp,-MD,util/.pstack.o.d,-MT,util/pstack.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/pstack.o util/pstack.c
rm -f perf-kmem.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-kmem.xml
  gcc -Wp,-MD,util/.session.o.d,-MT,util/session.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/session.o util/session.c
  gcc -Wp,-MD,util/.ordered-events.o.d,-MT,util/ordered-events.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/ordered-events.o util/ordered-events.c
rm -f perf-inject.1 && \
xmlto -o . -m manpage-normal.xsl  man perf-inject.xml
rm -f perf.1 && \
xmlto -o . -m manpage-normal.xsl  man perf.xml
  gcc -Wp,-MD,ui/browsers/.map.o.d,-MT,ui/browsers/map.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST  -c -o ui/browsers/map.o ui/browsers/map.c
  gcc -Wp,-MD,ui/browsers/.scripts.o.d,-MT,ui/browsers/scripts.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST  -c -o ui/browsers/scripts.o ui/browsers/scripts.c
  gcc -Wp,-MD,util/.comm.o.d,-MT,util/comm.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/comm.o util/comm.c
  gcc -Wp,-MD,util/.thread.o.d,-MT,util/thread.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/thread.o util/thread.c
  gcc -Wp,-MD,ui/browsers/.header.o.d,-MT,ui/browsers/header.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o ui/browsers/header.o ui/browsers/header.c
  gcc -Wp,-MD,util/.thread_map.o.d,-MT,util/thread_map.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/thread_map.o util/thread_map.c
  gcc -Wp,-MD,util/.trace-event-parse.o.d,-MT,util/trace-event-parse.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/trace-event-parse.o util/trace-event-parse.c
  gcc -Wp,-MD,util/.parse-events-bison.o.d,-MT,util/parse-events-bison.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DYYENABLE_NLS=0 -w  -c -o util/parse-events-bison.o util/parse-events-bison.c
bison -v util/pmu.y -d -o util/pmu-bison.c -p perf_pmu_
  gcc -Wp,-MD,util/.trace-event-read.o.d,-MT,util/trace-event-read.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/trace-event-read.o util/trace-event-read.c
  gcc -Wp,-MD,util/.trace-event-info.o.d,-MT,util/trace-event-info.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/trace-event-info.o util/trace-event-info.c
  gcc -Wp,-MD,util/.trace-event-scripting.o.d,-MT,util/trace-event-scripting.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/trace-event-scripting.o util/trace-event-scripting.c
  gcc -Wp,-MD,util/.trace-event.o.d,-MT,util/trace-event.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/trace-event.o util/trace-event.c
  gcc -Wp,-MD,util/.svghelper.o.d,-MT,util/svghelper.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/svghelper.o util/svghelper.c
  gcc -Wp,-MD,util/.sort.o.d,-MT,util/sort.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/sort.o util/sort.c
  gcc -Wp,-MD,util/.hist.o.d,-MT,util/hist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/hist.o util/hist.c
  gcc -Wp,-MD,util/.util.o.d,-MT,util/util.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/util.o util/util.c
  gcc -Wp,-MD,util/.xyarray.o.d,-MT,util/xyarray.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/xyarray.o util/xyarray.c
  gcc -Wp,-MD,util/.cpumap.o.d,-MT,util/cpumap.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/cpumap.o util/cpumap.c
  gcc -Wp,-MD,util/.cgroup.o.d,-MT,util/cgroup.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/cgroup.o util/cgroup.c
   ld -r -o ui/browsers/libperf-in.o  ui/browsers/annotate.o ui/browsers/hists.o ui/browsers/map.o ui/browsers/scripts.o ui/browsers/header.o
   ld -r -o ui/libperf-in.o  ui/setup.o ui/helpline.o ui/progress.o ui/util.o ui/hist.o ui/stdio/hist.o ui/browser.o ui/browsers/libperf-in.o ui/tui/libperf-in.o
  gcc -Wp,-MD,util/.target.o.d,-MT,util/target.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/target.o util/target.c
  gcc -Wp,-MD,util/.rblist.o.d,-MT,util/rblist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/rblist.o util/rblist.c
  gcc -Wp,-MD,util/.intlist.o.d,-MT,util/intlist.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/intlist.o util/intlist.c
  gcc -Wp,-MD,util/.vdso.o.d,-MT,util/vdso.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/vdso.o util/vdso.c
  gcc -Wp,-MD,util/.counts.o.d,-MT,util/counts.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/counts.o util/counts.c
  gcc -Wp,-MD,util/.stat.o.d,-MT,util/stat.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/stat.o util/stat.c
\
	install -d -m 755 /home/mingo/share/man/man1; \
#		install -d -m 755 /home/mingo/share/man/man5; \
#		install -d -m 755 /home/mingo/share/man/man7; \
	install -m 644 perf-data.1 perf-timechart.1 perf-diff.1 perf-trace.1 perf-buildid-cache.1 perf-record.1 perf-help.1 perf-lock.1 perf-archive.1 perf-script.1 perf-probe.1 perf-config.1 perf-bench.1 perf-mem.1 perf-evlist.1 perf-sched.1 perf-annotate.1 perf-kvm.1 perf-top.1 perf-stat.1 perf-buildid-list.1 perf-script-perl.1 perf-report.1 perf-script-python.1 perf-list.1 perf-test.1 perf-kmem.1 perf-inject.1 perf.1 /home/mingo/share/man/man1; \
#		install -m 644  /home/mingo/share/man/man5; \
#		install -m 644  /home/mingo/share/man/man7
  gcc -Wp,-MD,util/.stat-shadow.o.d,-MT,util/stat-shadow.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/stat-shadow.o util/stat-shadow.c
  gcc -Wp,-MD,util/.record.o.d,-MT,util/record.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/record.o util/record.c
  gcc -Wp,-MD,util/.srcline.o.d,-MT,util/srcline.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/srcline.o util/srcline.c
  gcc -Wp,-MD,util/.data.o.d,-MT,util/data.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/data.o util/data.c
  gcc -Wp,-MD,util/.tsc.o.d,-MT,util/tsc.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/tsc.o util/tsc.c
  gcc -Wp,-MD,util/.cloexec.o.d,-MT,util/cloexec.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/cloexec.o util/cloexec.c
  gcc -Wp,-MD,util/.thread-stack.o.d,-MT,util/thread-stack.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/thread-stack.o util/thread-stack.c
  gcc -Wp,-MD,util/.auxtrace.o.d,-MT,util/auxtrace.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/auxtrace.o util/auxtrace.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=./util/intel-pt-decoder obj=libperf
  gcc -Wp,-MD,util/intel-pt-decoder/.intel-pt-pkt-decoder.o.d,-MT,util/intel-pt-decoder/intel-pt-pkt-decoder.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/intel-pt-decoder/intel-pt-pkt-decoder.o util/intel-pt-decoder/intel-pt-pkt-decoder.c
make -f /home/mingo/tip/tools/build/Makefile.build dir=./util/scripting-engines obj=libperf
  gcc -Wp,-MD,util/scripting-engines/.trace-event-perl.o.d,-MT,util/scripting-engines/trace-event-perl.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE  -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-undef -Wno-switch-default  -c -o util/scripting-engines/trace-event-perl.o util/scripting-engines/trace-event-perl.c
  gcc -Wp,-MD,util/scripting-engines/.trace-event-python.o.d,-MT,util/scripting-engines/trace-event-python.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7  -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security  -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow  -c -o util/scripting-engines/trace-event-python.o util/scripting-engines/trace-event-python.c
  gcc -Wp,-MD,util/.intel-pt.o.d,-MT,util/intel-pt.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/intel-pt.o util/intel-pt.c
  gcc -Wp,-MD,util/.intel-bts.o.d,-MT,util/intel-bts.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/intel-bts.o util/intel-bts.c
  gcc -Wp,-MD,util/.parse-branch-options.o.d,-MT,util/parse-branch-options.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/parse-branch-options.o util/parse-branch-options.c
  gcc -Wp,-MD,util/intel-pt-decoder/.intel-pt-log.o.d,-MT,util/intel-pt-decoder/intel-pt-log.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/intel-pt-decoder/intel-pt-log.o util/intel-pt-decoder/intel-pt-log.c
  gcc -Wp,-MD,util/intel-pt-decoder/.intel-pt-decoder.o.d,-MT,util/intel-pt-decoder/intel-pt-decoder.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/intel-pt-decoder/intel-pt-decoder.o util/intel-pt-decoder/intel-pt-decoder.c
  gcc -Wp,-MD,util/intel-pt-decoder/.intel-pt-insn-decoder.o.d,-MT,util/intel-pt-decoder/intel-pt-insn-decoder.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -Iutil/intel-pt-decoder -Wno-override-init  -c -o util/intel-pt-decoder/intel-pt-insn-decoder.o util/intel-pt-decoder/intel-pt-insn-decoder.c
  gcc -Wp,-MD,util/.parse-regs-options.o.d,-MT,util/parse-regs-options.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/parse-regs-options.o util/parse-regs-options.c
  gcc -Wp,-MD,util/.bpf-loader.o.d,-MT,util/bpf-loader.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/bpf-loader.o util/bpf-loader.c
  gcc -Wp,-MD,util/.bpf-prologue.o.d,-MT,util/bpf-prologue.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/bpf-prologue.o util/bpf-prologue.c
  gcc -Wp,-MD,util/.symbol-elf.o.d,-MT,util/symbol-elf.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/symbol-elf.o util/symbol-elf.c
  gcc -Wp,-MD,util/.probe-file.o.d,-MT,util/probe-file.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/probe-file.o util/probe-file.c
  gcc -Wp,-MD,util/.probe-event.o.d,-MT,util/probe-event.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/probe-event.o util/probe-event.c
  gcc -Wp,-MD,util/.probe-finder.o.d,-MT,util/probe-finder.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/probe-finder.o util/probe-finder.c
  gcc -Wp,-MD,util/.dwarf-aux.o.d,-MT,util/dwarf-aux.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/dwarf-aux.o util/dwarf-aux.c
   ld -r -o util/scripting-engines/libperf-in.o  util/scripting-engines/trace-event-perl.o util/scripting-engines/trace-event-python.o
  gcc -Wp,-MD,util/.unwind-libunwind.o.d,-MT,util/unwind-libunwind.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/unwind-libunwind.o util/unwind-libunwind.c
  gcc -Wp,-MD,util/.zlib.o.d,-MT,util/zlib.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/zlib.o util/zlib.c
  gcc -Wp,-MD,util/.lzma.o.d,-MT,util/lzma.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/lzma.o util/lzma.c
flex -o util/parse-events-flex.c --header-file=util/parse-events-flex.h  util/parse-events.l
flex -o util/pmu-flex.c --header-file=util/pmu-flex.h util/pmu.l
  gcc -Wp,-MD,util/.pmu-bison.o.d,-MT,util/pmu-bison.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w  -c -o util/pmu-bison.o util/pmu-bison.c
  gcc -Wp,-MD,util/.parse-events.o.d,-MT,util/parse-events.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -Wno-redundant-decls  -c -o util/parse-events.o util/parse-events.c
  gcc -Wp,-MD,util/.parse-events-flex.o.d,-MT,util/parse-events-flex.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -w  -c -o util/parse-events-flex.o util/parse-events-flex.c
  gcc -Wp,-MD,util/.pmu.o.d,-MT,util/pmu.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o util/pmu.o util/pmu.c
  gcc -Wp,-MD,util/.pmu-flex.o.d,-MT,util/pmu-flex.o  -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/mingo/tip/tools/perf/util/include -I/home/mingo/tip/tools/perf/arch/x86/include -I/home/mingo/tip/tools/include/ -I/home/mingo/tip/arch/x86/include/uapi -I/home/mingo/tip/arch/x86/include -I/home/mingo/tip/include/uapi -I/home/mingo/tip/include -I/home/mingo/tip/tools/perf/util -I/home/mingo/tip/tools/perf -I/home/mingo/tip/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT  -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT  -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32 -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -w  -c -o util/pmu-flex.o util/pmu-flex.c
   ld -r -o util/intel-pt-decoder/libperf-in.o  util/intel-pt-decoder/intel-pt-pkt-decoder.o util/intel-pt-decoder/intel-pt-insn-decoder.o util/intel-pt-decoder/intel-pt-log.o util/intel-pt-decoder/intel-pt-decoder.o
   ld -r -o util/libperf-in.o  util/abspath.o util/alias.o util/annotate.o util/build-id.o util/config.o util/ctype.o util/db-export.o util/env.o util/environment.o util/event.o util/evlist.o util/evsel.o util/exec_cmd.o util/find_next_bit.o util/help.o util/kallsyms.o util/levenshtein.o util/llvm-utils.o util/parse-options.o util/parse-events.o util/perf_regs.o util/path.o util/rbtree.o util/libstring.o util/bitmap.o util/hweight.o util/run-command.o util/quote.o util/strbuf.o util/string.o util/strlist.o util/strfilter.o util/top.o util/usage.o util/wrapper.o util/sigchain.o util/dso.o util/symbol.o util/color.o util/pager.o util/header.o util/callchain.o util/values.o util/debug.o util/machine.o util/map.o util/pstack.o util/session.o util/ordered-events.o util/comm.o util/thread.o util/thread_map.o util/trace-event-parse.o util/parse-events-flex.o util/parse-events-bison.o util/pmu.o util/pmu-flex.o util/pmu-bison.o util/trace-event-read.o util/trace-event-info.o util/trace-event-scripting.o util/trace-event.o util/svghelper.o util/sort.o util/hist.o util/util.o util/xyarray.o util/cpumap.o util/cgroup.o util/target.o util/rblist.o util/intlist.o util/vdso.o util/counts.o util/stat.o util/stat-shadow.o util/record.o util/srcline.o util/data.o util/tsc.o util/cloexec.o util/thread-stack.o util/auxtrace.o util/intel-pt-decoder/libperf-in.o util/intel-pt.o util/intel-bts.o util/parse-branch-options.o util/parse-regs-options.o util/bpf-loader.o util/bpf-prologue.o util/symbol-elf.o util/probe-file.o util/probe-event.o util/probe-finder.o util/dwarf-aux.o util/unwind-libunwind.o util/scripting-engines/libperf-in.o util/zlib.o util/lzma.o
   ld -r -o libperf-in.o  util/libperf-in.o arch/libperf-in.o ui/libperf-in.o scripts/libperf-in.o
Makefile:87: recipe for target 'install' failed
make: *** [install] Error 2

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  8:10 ` Ingo Molnar
  2015-11-24  8:28   ` Jiri Olsa
  2015-11-24 10:28   ` Jiri Olsa
@ 2015-11-26  8:13   ` Ingo Molnar
  2 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2015-11-26  8:13 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, David Ahern, Jan Kratochvil, Jiri Olsa,
	Masami Hiramatsu, Milian Wolff, Namhyung Kim, Peter Zijlstra,
	Taeung Song, Wang Nan, Arnaldo Carvalho de Melo


* Ingo Molnar <mingo@kernel.org> wrote:

> 
> * Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> 
> > Hi Ingo,
> > 
> > 	Please consider pulling,
> > 
> > - Arnaldo
> > 
> > 
> > The following changes since commit b7883a1c4f75edb62fc49da6000c59fb881e3c7b:
> > 
> >   perf/x86: Handle multiple umask bits for BDW CYCLE_ACTIVITY.* (2015-11-23 09:58:27 +0100)
> > 
> > are available in the git repository at:
> > 
> >   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo
> > 
> > for you to fetch changes up to 646a6e846c4dc3812c614fd061603b6db5b8d380:
> > 
> >   perf callchain: Add missing parent_val initialization (2015-11-23 18:31:25 -0300)
> > 
> > ----------------------------------------------------------------
> > perf/core improvements and fixes:
> > 
> > User visible:
> > 
> > - Allow callchain order (caller, callee) to the libdw and libunwind based DWARF
> >   unwinders (Jiri Olsa)
> > 
> > - Add missing parent_val initialization in the callchain code, fixing a
> >   SEGFAULT when using callchains with 'perf top' (Jiri Olsa)
> > 
> > - Add initial 'perf config' command, for now just with a --list command to
> >   show the contents of the configuration file in use and a basic man page
> >   describing its format, commands for doing edits and detailed documentation
> >   are being reviewed and proof-read. (Taeung Song)
> > 
> > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> > 
> > ----------------------------------------------------------------
> > Jiri Olsa (5):
> >       perf callchain: Move initial entry call into get_entries function
> >       perf callchain: Add order support for libunwind DWARF unwinder
> >       perf test: Add callchain order setup for DWARF unwinder test
> >       perf callchain: Add order support for libdw DWARF unwinder
> >       perf callchain: Add missing parent_val initialization
> > 
> > Taeung Song (2):
> >       perf tools: Add 'perf config' command
> >       perf config: Add initial man page
> > 
> >  tools/perf/Build                         |   1 +
> >  tools/perf/Documentation/perf-config.txt | 103 +++++++++++++++++++++++++++++++
> >  tools/perf/builtin-config.c              |  66 ++++++++++++++++++++
> >  tools/perf/builtin.h                     |   1 +
> >  tools/perf/command-list.txt              |   1 +
> >  tools/perf/perf.c                        |   1 +
> >  tools/perf/tests/dwarf-unwind.c          |  22 ++++++-
> >  tools/perf/util/callchain.h              |   1 +
> >  tools/perf/util/unwind-libdw.c           |  53 +++++++++++-----
> >  tools/perf/util/unwind-libdw.h           |   2 +
> >  tools/perf/util/unwind-libunwind.c       |  60 +++++++++++-------
> >  11 files changed, 272 insertions(+), 39 deletions(-)
> >  create mode 100644 tools/perf/Documentation/perf-config.txt
> >  create mode 100644 tools/perf/builtin-config.c
> 
> Hm, I noticed something weird - I think it started with this pull request - the 
> feature detection build messages come mixed with the regular build:

As per the discussion that followed, this seems to be an old and unrelated bug, so 
I pulled your tree, thanks a lot Arnaldo!

	Ingo

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-26  8:12           ` Ingo Molnar
@ 2015-11-26  9:09             ` Jiri Olsa
  0 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2015-11-26  9:09 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

On Thu, Nov 26, 2015 at 09:12:37AM +0100, Ingo Molnar wrote:

SNIP

> fixdep: error opening depfile: ./.plugin_hrtimer.o.d: No such file or directory
> /home/mingo/tip/tools/build/Makefile.build:77: recipe for target 
> 'plugin_hrtimer.o' failed
> make[3]: *** [plugin_hrtimer.o] Error 2
> Makefile:189: recipe for target 'plugin_hrtimer-in.o' failed
> make[2]: *** [plugin_hrtimer-in.o] Error 2
> Makefile.perf:414: recipe for target 'libtraceevent_plugins' failed
> make[1]: *** [libtraceevent_plugins] Error 2
> make[1]: *** Waiting for unfinished jobs....
>   CC       plugin_kvm.o
>   CC       builtin-sched.o
>   CC       plugin_mac80211.o
>   LD       plugin_kmem-in.o
>   CC       util/help.o
> 
> Can you reproduce it by adding 'sleep 1' (or 'sleep 2') to the end of 
> util/PERF-VERSION-GEN? (See the patch attached further below.)
> 
> The failure is sporadic even with the 'sleep 1' hack - I get a build failure 1 out 
> of 3 times maybe:
> 
> triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done
> Thu Nov 26 09:07:12 CET 2015 pass
> Thu Nov 26 09:07:23 CET 2015 FAIL!
> 
> Interestingly it does not reproduce if I use '>FAIL.log' - I need to output the 
> log into tmpfs - maybe the extra VFS synchronization if logging to the same 
> filesystem where the build occurs hides the race?
> 
> With V=1 it takes a lot longer to reproduce:
> 
> triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install V=1 >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done
> Thu Nov 26 09:08:08 CET 2015 pass
> Thu Nov 26 09:08:20 CET 2015 pass
> Thu Nov 26 09:08:32 CET 2015 pass
> Thu Nov 26 09:08:43 CET 2015 pass
> Thu Nov 26 09:08:55 CET 2015 pass
> Thu Nov 26 09:09:06 CET 2015 pass
> Thu Nov 26 09:09:17 CET 2015 pass
> Thu Nov 26 09:09:29 CET 2015 pass
> Thu Nov 26 09:09:41 CET 2015 FAIL!

so far no luck on my side.. from quick check over the fail log
it seems the patch I sent yesterday could help:

http://lkml.iu.edu/hypermail/linux/kernel/1511.3/00186.html

I'll have more detailed check on your fail log,

thanks,
jirka

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-24  9:47         ` Jiri Olsa
@ 2015-11-26 11:00           ` Ingo Molnar
  2015-11-26 12:47             ` Jiri Olsa
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2015-11-26 11:00 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo


* Jiri Olsa <jolsa@redhat.com> wrote:

> I think I found one race..
>  - having install-traceevent-plugins depend on $(LIBTRACEEVENT),
>    plugins will not be built as its prereq. and the target
>    install-traceevent-plugins itself will trigger plugins build
>  - but plugins build is also triggered by perf build itself
>    via libtraceevent_plugins target
> 
> so those 2 might race.. but as I said, I've never reproduced ;-)
> 
> Could you please give it a try?
> 
> thanks,
> jirka
> 
> 
> ---
> diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
> index 0d19d5447d6c..929a32ba15f5 100644
> --- a/tools/perf/Makefile.perf
> +++ b/tools/perf/Makefile.perf
> @@ -420,7 +420,7 @@ $(LIBTRACEEVENT)-clean:
>  	$(call QUIET_CLEAN, libtraceevent)
>  	$(Q)$(MAKE) -C $(TRACE_EVENT_DIR) O=$(OUTPUT) clean >/dev/null
>  
> -install-traceevent-plugins: $(LIBTRACEEVENT)
> +install-traceevent-plugins: libtraceevent_plugins
>  	$(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) install_plugins
>  

Ok, so I tried this fix with my 'sleep 1' hack to make the race easier to trigger, 
and without your fix it still fails fairly quickly:

triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install V=1 >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done
Thu Nov 26 11:54:36 CET 2015 pass
Thu Nov 26 11:54:47 CET 2015 FAIL!

but with your fix applied it passes a reasonable number of builds:

triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install V=1 >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done
Thu Nov 26 11:55:12 CET 2015 pass
Thu Nov 26 11:55:25 CET 2015 pass
Thu Nov 26 11:55:36 CET 2015 pass
Thu Nov 26 11:55:47 CET 2015 pass
Thu Nov 26 11:55:58 CET 2015 pass
Thu Nov 26 11:56:09 CET 2015 pass
Thu Nov 26 11:56:21 CET 2015 pass
Thu Nov 26 11:56:32 CET 2015 pass
Thu Nov 26 11:56:44 CET 2015 pass
Thu Nov 26 11:56:55 CET 2015 pass
Thu Nov 26 11:57:06 CET 2015 pass
Thu Nov 26 11:57:18 CET 2015 pass
Thu Nov 26 11:57:29 CET 2015 pass
Thu Nov 26 11:57:40 CET 2015 pass
Thu Nov 26 11:57:51 CET 2015 pass
Thu Nov 26 11:58:03 CET 2015 pass

So I think the bug is fixed for good:

  Tested-by: Ingo Molnar <mingo@kernel.org>

( I'll keep it running some longer and will let you know if there's any failure.
  Consider it fixed if I don't send any update. )

Thanks,

	Ingo

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2015-11-26 11:00           ` Ingo Molnar
@ 2015-11-26 12:47             ` Jiri Olsa
  0 siblings, 0 replies; 38+ messages in thread
From: Jiri Olsa @ 2015-11-26 12:47 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, linux-kernel, David Ahern,
	Jan Kratochvil, Masami Hiramatsu, Milian Wolff, Namhyung Kim,
	Peter Zijlstra, Taeung Song, Wang Nan, Arnaldo Carvalho de Melo

On Thu, Nov 26, 2015 at 12:00:00PM +0100, Ingo Molnar wrote:

SNIP

> Thu Nov 26 11:55:58 CET 2015 pass
> Thu Nov 26 11:56:09 CET 2015 pass
> Thu Nov 26 11:56:21 CET 2015 pass
> Thu Nov 26 11:56:32 CET 2015 pass
> Thu Nov 26 11:56:44 CET 2015 pass
> Thu Nov 26 11:56:55 CET 2015 pass
> Thu Nov 26 11:57:06 CET 2015 pass
> Thu Nov 26 11:57:18 CET 2015 pass
> Thu Nov 26 11:57:29 CET 2015 pass
> Thu Nov 26 11:57:40 CET 2015 pass
> Thu Nov 26 11:57:51 CET 2015 pass
> Thu Nov 26 11:58:03 CET 2015 pass
> 
> So I think the bug is fixed for good:
> 
>   Tested-by: Ingo Molnar <mingo@kernel.org>
> 
> ( I'll keep it running some longer and will let you know if there's any failure.
>   Consider it fixed if I don't send any update. )

I wonder what's different in your setup, because I still
cannot hit that.. anyway, thanks ;-) I'll send out full patch

jirka

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

* [GIT PULL 0/7] perf/core improvements and fixes
@ 2017-04-13 19:35 Arnaldo Carvalho de Melo
  2017-04-14 16:07 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-04-13 19:35 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	Alexander Shishkin, Alexis Berlemont, Andi Kleen,
	David Carrillo-Cisneros, He Kuang, Jiri Olsa, Kim Phillips,
	Masami Hiramatsu, Mathieu Poirier, Paul Turner, Peter Zijlstra,
	Ravi Bangoria, Simon Que, Stephane Eranian, Wang Nan

Hi Ingo,

	Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

Test results:

The first ones are container (docker) based builds of tools/perf with and
without libelf support, objtool where it is supported and samples/bpf/, ditto.
Where clang is available, it is also used to build perf with/without libelf.

For this specific pull request the samples/bpf/ was disabled, as 'make headers_install'
is failing with the following error, in this case in fedora:rawhide:

    INSTALL usr/include/uapi/ (0 file)
  /git/linux/scripts/Makefile.headersinst:62: *** Missing generated UAPI file ./arch/x86/include/generated/uapi/asm/unistd_32.h.  Stop.
  make[1]: *** [/git/linux/Makefile:1151: headers_install] Error 2
  make[1]: Leaving directory '/tmp/build/linux'
  make: *** [Makefile:152: sub-make] Error 2
  make: Leaving directory '/git/linux'

I'll investigate later, perf and objtool builds just fine, with clang and gcc.

Several are cross builds, the ones with -x-ARCH, and the android one, and those
may not have all the features built, due to lack of multi-arch devel packages,
available and being used so far on just a few, like
debian:experimental-x-{arm64,mipsel}.

The 'perf test' one will perform a variety of tests exercising
tools/perf/util/, tools/lib/{bpf,traceevent,etc}, as well as run perf commands
with a variety of command line event specifications to then intercept the
sys_perf_event syscall to check that the perf_event_attr fields are set up as
expected, among a variety of other unit tests.

Then there is the 'make -C tools/perf build-test' ones, that build tools/perf/
with a variety of feature sets, exercising the build with an incomplete set of
features as well as with a complete one. It is planned to have it run on each
of the containers mentioned above, using some container orchestration
infrastructure. Get in contact if interested in helping having this in place.

  # dm
   1 alpine:3.4: Ok
   2 alpine:3.5: Ok
   3 alpine:edge: Ok
   4 android-ndk:r12b-arm: Ok
   5 archlinux:latest: Ok
   6 centos:5: Ok
   7 centos:6: Ok
   8 centos:7: Ok
   9 debian:7: Ok
  10 debian:8: Ok
  11 debian:9: Ok
  12 debian:experimental: Ok
  13 debian:experimental-x-arm64: Ok
  14 debian:experimental-x-mips: Ok
  15 debian:experimental-x-mips64: Ok
  16 debian:experimental-x-mipsel: Ok
  17 fedora:20: Ok
  18 fedora:21: Ok
  19 fedora:22: Ok
  20 fedora:23: Ok
  21 fedora:24: Ok
  22 fedora:24-x-ARC-uClibc: Ok
  23 fedora:25: Ok
  24 fedora:rawhide: Ok
  25 mageia:5: Ok
  26 opensuse:13.2: Ok
  27 opensuse:42.1: Ok
  28 opensuse:tumbleweed: Ok
  29 ubuntu:12.04.5: Ok
  30 ubuntu:14.04.4: Ok
  31 ubuntu:14.04.4-x-linaro-arm64: Ok
  32 ubuntu:15.10: Ok
  33 ubuntu:16.04: Ok
  34 ubuntu:16.04-x-arm: Ok
  35 ubuntu:16.04-x-arm64: Ok
  36 ubuntu:16.04-x-powerpc: Ok
  37 ubuntu:16.04-x-powerpc64: Ok
  38 ubuntu:16.04-x-s390: Ok
  39 ubuntu:16.10: Ok
  40 ubuntu:17.04: Ok
  # 

  # uname -a
  Linux jouet 4.11.0-rc6+ #7 SMP Tue Apr 11 11:53:14 -03 2017 x86_64 x86_64 x86_64 GNU/Linux
  # perf test
   1: vmlinux symtab matches kallsyms            : Ok
   2: Detect openat syscall event                : Ok
   3: Detect openat syscall event on all cpus    : Ok
   4: Read samples using the mmap interface      : Ok
   5: Parse event definition strings             : Ok
   6: Simple expression parser                   : Ok
   7: PERF_RECORD_* events & perf_sample fields  : Ok
   8: Parse perf pmu format                      : Ok
   9: DSO data read                              : Ok
  10: DSO data cache                             : Ok
  11: DSO data reopen                            : Ok
  12: Roundtrip evsel->name                      : Ok
  13: Parse sched tracepoints fields             : Ok
  14: syscalls:sys_enter_openat event fields     : Ok
  15: Setup struct perf_event_attr               : Ok
  16: Match and link multiple hists              : Ok
  17: 'import perf' in python                    : Ok
  18: Breakpoint overflow signal handler         : Ok
  19: Breakpoint overflow sampling               : Ok
  20: Number of exit events of a simple workload : Ok
  21: Software clock events period values        : Ok
  22: Object code reading                        : Ok
  23: Sample parsing                             : Ok
  24: Use a dummy software event to keep tracking: Ok
  25: Parse with no sample_id_all bit set        : Ok
  26: Filter hist entries                        : Ok
  27: Lookup mmap thread                         : Ok
  28: Share thread mg                            : Ok
  29: Sort output of hist entries                : Ok
  30: Cumulate child hist entries                : Ok
  31: Track with sched_switch                    : Ok
  32: Filter fds with revents mask in a fdarray  : Ok
  33: Add fd to a fdarray, making it autogrow    : Ok
  34: kmod_path__parse                           : Ok
  35: Thread map                                 : Ok
  36: LLVM search and compile                    :
  36.1: Basic BPF llvm compile                    : Ok
  36.2: kbuild searching                          : Ok
  36.3: Compile source for BPF prologue generation: Ok
  36.4: Compile source for BPF relocation         : Ok
  37: Session topology                           : Ok
  38: BPF filter                                 :
  38.1: Basic BPF filtering                      : Ok
  38.2: BPF pinning                              : Ok
  38.3: BPF prologue generation                  : Ok
  38.4: BPF relocation checker                   : Ok
  39: Synthesize thread map                      : Ok
  40: Remove thread map                          : Ok
  41: Synthesize cpu map                         : Ok
  42: Synthesize stat config                     : Ok
  43: Synthesize stat                            : Ok
  44: Synthesize stat round                      : Ok
  45: Synthesize attr update                     : Ok
  46: Event times                                : Ok
  47: Read backward ring buffer                  : Ok
  48: Print cpu map                              : Ok
  49: Probe SDT events                           : Ok
  50: is_printable_array                         : Ok
  51: Print bitmap                               : Ok
  52: perf hooks                                 : Ok
  53: builtin clang support                      : Skip (not compiled in)
  54: unit_number__scnprintf                     : Ok
  55: x86 rdpmc                                  : Ok
  56: Convert perf time to TSC                   : Ok
  57: DWARF unwind                               : Ok
  58: x86 instruction decoder - new instructions : Ok
  59: Intel cqm nmi context read                 : Skip
  #

  $ perf stat make -C tools/perf build-test
  make: Entering directory '/home/acme/git/linux/tools/perf'
  - tarpkg: ./tests/perf-targz-src-pkg .
                  make_no_ui_O: make NO_NEWT=1 NO_SLANG=1 NO_GTK2=1
  make_no_libdw_dwarf_unwind_O: make NO_LIBDW_DWARF_UNWIND=1
         make_with_clangllvm_O: make LIBCLANGLLVM=1
            make_install_bin_O: make install-bin
             make_util_map_o_O: make util/map.o
               make_no_slang_O: make NO_SLANG=1
              make_no_libbpf_O: make NO_LIBBPF=1
                  make_debug_O: make DEBUG=1
                make_no_newt_O: make NO_NEWT=1
              make_clean_all_O: make clean all
           make_no_backtrace_O: make NO_BACKTRACE=1
            make_no_demangle_O: make NO_DEMANGLE=1
                   make_pure_O: make
         make_install_prefix_O: make install prefix=/tmp/krava
            make_no_auxtrace_O: make NO_AUXTRACE=1
             make_no_libperl_O: make NO_LIBPERL=1
                    make_doc_O: make doc
        make_with_babeltrace_O: make LIBBABELTRACE=1
                 make_static_O: make LDFLAGS=-static
              make_no_libelf_O: make NO_LIBELF=1
             make_no_libnuma_O: make NO_LIBNUMA=1
       make_util_pmu_bison_o_O: make util/pmu-bison.o
           make_no_libunwind_O: make NO_LIBUNWIND=1
             make_no_scripts_O: make NO_LIBPYTHON=1 NO_LIBPERL=1
                   make_tags_O: make tags
                   make_help_O: make help
                make_install_O: make install
           make_no_libpython_O: make NO_LIBPYTHON=1
           make_no_libbionic_O: make NO_LIBBIONIC=1
   make_install_prefix_slash_O: make install prefix=/tmp/krava/
            make_no_libaudit_O: make NO_LIBAUDIT=1
                make_no_gtk2_O: make NO_GTK2=1
                make_minimal_O: make NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 NO_DEMANGLE=1 NO_LIBELF=1 NO_LIBUNWIND=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1 NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1 NO_LIBBPF=1 NO_LIBCRYPTO=1 NO_SDT=1 NO_JVMTI=1
                 make_perf_o_O: make perf.o
  OK
  make: Leaving directory '/home/acme/git/linux/tools/perf'
  $

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2017-04-13 19:35 Arnaldo Carvalho de Melo
@ 2017-04-14 16:07 ` Arnaldo Carvalho de Melo
  2017-04-17  8:15   ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-04-14 16:07 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Adrian Hunter, Alexander Shishkin, Alexis Berlemont,
	Andi Kleen, David Carrillo-Cisneros, He Kuang, Jiri Olsa,
	Kim Phillips, Masami Hiramatsu, Mathieu Poirier, Paul Turner,
	Peter Zijlstra, Ravi Bangoria, Simon Que, Stephane Eranian,
	Wang Nan

Em Thu, Apr 13, 2017 at 04:35:29PM -0300, Arnaldo Carvalho de Melo escreveu:
> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.

Ooops, here is the missing output from 'git-request-pull':

The following changes since commit a8d11cd0714f51877587f5ec891013ca46e163ac:

  kprobes/x86: Consolidate insn decoder users for copying code (2017-04-12 09:23:47 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.12-20170413

for you to fetch changes up to 16eb81365b70266c17d1141ef9b32c3110b22d17:

  Revert "perf tools: Fix include of linux/mman.h" (2017-04-13 11:54:46 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

User visible:

- Fix bug 'perf stat' in handling events in error state (Stephane Eranian)

Documentation:

- Add usage of --no-syscalls in 'perf trace' man page (Ravi Bangoria)

Infrastructure:

- Pass PYTHON config to feature detection (David Carrillo-Cisneros)

- Disable JVMTI if no ELF support available (David Carrillo-Cisneros)

- Fix feature detection redefinion of build flags (David Carrillo-Cisneros)

- Hint missing file when tool tips fail to load (David Carrillo-Cisneros)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
David Carrillo-Cisneros (5):
      perf tools: Pass PYTHON config to feature detection
      perf tools: Disable JVMTI if no ELF support available
      tools build: Fix feature detection redefinion of build flags
      perf util: Hint missing file when tool tips fail to load
      Revert "perf tools: Fix include of linux/mman.h"

Ravi Bangoria (1):
      perf trace: Add usage of --no-syscalls in man page

Stephane Eranian (1):
      perf stat: Fix bug in handling events in error state

 tools/build/feature/Makefile            | 12 +++++------
 tools/perf/Documentation/perf-trace.txt |  3 ++-
 tools/perf/Makefile.config              | 35 ++++++++++++++-------------------
 tools/perf/builtin-stat.c               | 12 ++++++++---
 tools/perf/util/event.c                 |  2 +-
 tools/perf/util/evsel.c                 |  4 ++--
 tools/perf/util/util.c                  |  3 ++-
 7 files changed, 37 insertions(+), 34 deletions(-)
 
> Test results:
> 
> The first ones are container (docker) based builds of tools/perf with and
> without libelf support, objtool where it is supported and samples/bpf/, ditto.
> Where clang is available, it is also used to build perf with/without libelf.
> 
> For this specific pull request the samples/bpf/ was disabled, as 'make headers_install'
> is failing with the following error, in this case in fedora:rawhide:
> 
>     INSTALL usr/include/uapi/ (0 file)
>   /git/linux/scripts/Makefile.headersinst:62: *** Missing generated UAPI file ./arch/x86/include/generated/uapi/asm/unistd_32.h.  Stop.
>   make[1]: *** [/git/linux/Makefile:1151: headers_install] Error 2
>   make[1]: Leaving directory '/tmp/build/linux'
>   make: *** [Makefile:152: sub-make] Error 2
>   make: Leaving directory '/git/linux'
> 
> I'll investigate later, perf and objtool builds just fine, with clang and gcc.
> 
> Several are cross builds, the ones with -x-ARCH, and the android one, and those
> may not have all the features built, due to lack of multi-arch devel packages,
> available and being used so far on just a few, like
> debian:experimental-x-{arm64,mipsel}.
> 
> The 'perf test' one will perform a variety of tests exercising
> tools/perf/util/, tools/lib/{bpf,traceevent,etc}, as well as run perf commands
> with a variety of command line event specifications to then intercept the
> sys_perf_event syscall to check that the perf_event_attr fields are set up as
> expected, among a variety of other unit tests.
> 
> Then there is the 'make -C tools/perf build-test' ones, that build tools/perf/
> with a variety of feature sets, exercising the build with an incomplete set of
> features as well as with a complete one. It is planned to have it run on each
> of the containers mentioned above, using some container orchestration
> infrastructure. Get in contact if interested in helping having this in place.
> 
>   # dm
>    1 alpine:3.4: Ok
>    2 alpine:3.5: Ok
>    3 alpine:edge: Ok
>    4 android-ndk:r12b-arm: Ok
>    5 archlinux:latest: Ok
>    6 centos:5: Ok
>    7 centos:6: Ok
>    8 centos:7: Ok
>    9 debian:7: Ok
>   10 debian:8: Ok
>   11 debian:9: Ok
>   12 debian:experimental: Ok
>   13 debian:experimental-x-arm64: Ok
>   14 debian:experimental-x-mips: Ok
>   15 debian:experimental-x-mips64: Ok
>   16 debian:experimental-x-mipsel: Ok
>   17 fedora:20: Ok
>   18 fedora:21: Ok
>   19 fedora:22: Ok
>   20 fedora:23: Ok
>   21 fedora:24: Ok
>   22 fedora:24-x-ARC-uClibc: Ok
>   23 fedora:25: Ok
>   24 fedora:rawhide: Ok
>   25 mageia:5: Ok
>   26 opensuse:13.2: Ok
>   27 opensuse:42.1: Ok
>   28 opensuse:tumbleweed: Ok
>   29 ubuntu:12.04.5: Ok
>   30 ubuntu:14.04.4: Ok
>   31 ubuntu:14.04.4-x-linaro-arm64: Ok
>   32 ubuntu:15.10: Ok
>   33 ubuntu:16.04: Ok
>   34 ubuntu:16.04-x-arm: Ok
>   35 ubuntu:16.04-x-arm64: Ok
>   36 ubuntu:16.04-x-powerpc: Ok
>   37 ubuntu:16.04-x-powerpc64: Ok
>   38 ubuntu:16.04-x-s390: Ok
>   39 ubuntu:16.10: Ok
>   40 ubuntu:17.04: Ok
>   # 
> 
>   # uname -a
>   Linux jouet 4.11.0-rc6+ #7 SMP Tue Apr 11 11:53:14 -03 2017 x86_64 x86_64 x86_64 GNU/Linux
>   # perf test
>    1: vmlinux symtab matches kallsyms            : Ok
>    2: Detect openat syscall event                : Ok
>    3: Detect openat syscall event on all cpus    : Ok
>    4: Read samples using the mmap interface      : Ok
>    5: Parse event definition strings             : Ok
>    6: Simple expression parser                   : Ok
>    7: PERF_RECORD_* events & perf_sample fields  : Ok
>    8: Parse perf pmu format                      : Ok
>    9: DSO data read                              : Ok
>   10: DSO data cache                             : Ok
>   11: DSO data reopen                            : Ok
>   12: Roundtrip evsel->name                      : Ok
>   13: Parse sched tracepoints fields             : Ok
>   14: syscalls:sys_enter_openat event fields     : Ok
>   15: Setup struct perf_event_attr               : Ok
>   16: Match and link multiple hists              : Ok
>   17: 'import perf' in python                    : Ok
>   18: Breakpoint overflow signal handler         : Ok
>   19: Breakpoint overflow sampling               : Ok
>   20: Number of exit events of a simple workload : Ok
>   21: Software clock events period values        : Ok
>   22: Object code reading                        : Ok
>   23: Sample parsing                             : Ok
>   24: Use a dummy software event to keep tracking: Ok
>   25: Parse with no sample_id_all bit set        : Ok
>   26: Filter hist entries                        : Ok
>   27: Lookup mmap thread                         : Ok
>   28: Share thread mg                            : Ok
>   29: Sort output of hist entries                : Ok
>   30: Cumulate child hist entries                : Ok
>   31: Track with sched_switch                    : Ok
>   32: Filter fds with revents mask in a fdarray  : Ok
>   33: Add fd to a fdarray, making it autogrow    : Ok
>   34: kmod_path__parse                           : Ok
>   35: Thread map                                 : Ok
>   36: LLVM search and compile                    :
>   36.1: Basic BPF llvm compile                    : Ok
>   36.2: kbuild searching                          : Ok
>   36.3: Compile source for BPF prologue generation: Ok
>   36.4: Compile source for BPF relocation         : Ok
>   37: Session topology                           : Ok
>   38: BPF filter                                 :
>   38.1: Basic BPF filtering                      : Ok
>   38.2: BPF pinning                              : Ok
>   38.3: BPF prologue generation                  : Ok
>   38.4: BPF relocation checker                   : Ok
>   39: Synthesize thread map                      : Ok
>   40: Remove thread map                          : Ok
>   41: Synthesize cpu map                         : Ok
>   42: Synthesize stat config                     : Ok
>   43: Synthesize stat                            : Ok
>   44: Synthesize stat round                      : Ok
>   45: Synthesize attr update                     : Ok
>   46: Event times                                : Ok
>   47: Read backward ring buffer                  : Ok
>   48: Print cpu map                              : Ok
>   49: Probe SDT events                           : Ok
>   50: is_printable_array                         : Ok
>   51: Print bitmap                               : Ok
>   52: perf hooks                                 : Ok
>   53: builtin clang support                      : Skip (not compiled in)
>   54: unit_number__scnprintf                     : Ok
>   55: x86 rdpmc                                  : Ok
>   56: Convert perf time to TSC                   : Ok
>   57: DWARF unwind                               : Ok
>   58: x86 instruction decoder - new instructions : Ok
>   59: Intel cqm nmi context read                 : Skip
>   #
> 
>   $ perf stat make -C tools/perf build-test
>   make: Entering directory '/home/acme/git/linux/tools/perf'
>   - tarpkg: ./tests/perf-targz-src-pkg .
>                   make_no_ui_O: make NO_NEWT=1 NO_SLANG=1 NO_GTK2=1
>   make_no_libdw_dwarf_unwind_O: make NO_LIBDW_DWARF_UNWIND=1
>          make_with_clangllvm_O: make LIBCLANGLLVM=1
>             make_install_bin_O: make install-bin
>              make_util_map_o_O: make util/map.o
>                make_no_slang_O: make NO_SLANG=1
>               make_no_libbpf_O: make NO_LIBBPF=1
>                   make_debug_O: make DEBUG=1
>                 make_no_newt_O: make NO_NEWT=1
>               make_clean_all_O: make clean all
>            make_no_backtrace_O: make NO_BACKTRACE=1
>             make_no_demangle_O: make NO_DEMANGLE=1
>                    make_pure_O: make
>          make_install_prefix_O: make install prefix=/tmp/krava
>             make_no_auxtrace_O: make NO_AUXTRACE=1
>              make_no_libperl_O: make NO_LIBPERL=1
>                     make_doc_O: make doc
>         make_with_babeltrace_O: make LIBBABELTRACE=1
>                  make_static_O: make LDFLAGS=-static
>               make_no_libelf_O: make NO_LIBELF=1
>              make_no_libnuma_O: make NO_LIBNUMA=1
>        make_util_pmu_bison_o_O: make util/pmu-bison.o
>            make_no_libunwind_O: make NO_LIBUNWIND=1
>              make_no_scripts_O: make NO_LIBPYTHON=1 NO_LIBPERL=1
>                    make_tags_O: make tags
>                    make_help_O: make help
>                 make_install_O: make install
>            make_no_libpython_O: make NO_LIBPYTHON=1
>            make_no_libbionic_O: make NO_LIBBIONIC=1
>    make_install_prefix_slash_O: make install prefix=/tmp/krava/
>             make_no_libaudit_O: make NO_LIBAUDIT=1
>                 make_no_gtk2_O: make NO_GTK2=1
>                 make_minimal_O: make NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 NO_DEMANGLE=1 NO_LIBELF=1 NO_LIBUNWIND=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1 NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1 NO_LIBBPF=1 NO_LIBCRYPTO=1 NO_SDT=1 NO_JVMTI=1
>                  make_perf_o_O: make perf.o
>   OK
>   make: Leaving directory '/home/acme/git/linux/tools/perf'
>   $

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

* Re: [GIT PULL 0/7] perf/core improvements and fixes
  2017-04-14 16:07 ` Arnaldo Carvalho de Melo
@ 2017-04-17  8:15   ` Ingo Molnar
  0 siblings, 0 replies; 38+ messages in thread
From: Ingo Molnar @ 2017-04-17  8:15 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Adrian Hunter, Alexander Shishkin, Alexis Berlemont,
	Andi Kleen, David Carrillo-Cisneros, He Kuang, Jiri Olsa,
	Kim Phillips, Masami Hiramatsu, Mathieu Poirier, Paul Turner,
	Peter Zijlstra, Ravi Bangoria, Simon Que, Stephane Eranian,
	Wang Nan


* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:

> Em Thu, Apr 13, 2017 at 04:35:29PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Hi Ingo,
> > 
> > 	Please consider pulling,
> > 
> > - Arnaldo
> > 
> > Test results at the end of this message, as usual.
> 
> Ooops, here is the missing output from 'git-request-pull':
> 
> The following changes since commit a8d11cd0714f51877587f5ec891013ca46e163ac:
> 
>   kprobes/x86: Consolidate insn decoder users for copying code (2017-04-12 09:23:47 +0200)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.12-20170413
> 
> for you to fetch changes up to 16eb81365b70266c17d1141ef9b32c3110b22d17:
> 
>   Revert "perf tools: Fix include of linux/mman.h" (2017-04-13 11:54:46 -0300)
> 
> ----------------------------------------------------------------
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Fix bug 'perf stat' in handling events in error state (Stephane Eranian)
> 
> Documentation:
> 
> - Add usage of --no-syscalls in 'perf trace' man page (Ravi Bangoria)
> 
> Infrastructure:
> 
> - Pass PYTHON config to feature detection (David Carrillo-Cisneros)
> 
> - Disable JVMTI if no ELF support available (David Carrillo-Cisneros)
> 
> - Fix feature detection redefinion of build flags (David Carrillo-Cisneros)
> 
> - Hint missing file when tool tips fail to load (David Carrillo-Cisneros)
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> David Carrillo-Cisneros (5):
>       perf tools: Pass PYTHON config to feature detection
>       perf tools: Disable JVMTI if no ELF support available
>       tools build: Fix feature detection redefinion of build flags
>       perf util: Hint missing file when tool tips fail to load
>       Revert "perf tools: Fix include of linux/mman.h"
> 
> Ravi Bangoria (1):
>       perf trace: Add usage of --no-syscalls in man page
> 
> Stephane Eranian (1):
>       perf stat: Fix bug in handling events in error state
> 
>  tools/build/feature/Makefile            | 12 +++++------
>  tools/perf/Documentation/perf-trace.txt |  3 ++-
>  tools/perf/Makefile.config              | 35 ++++++++++++++-------------------
>  tools/perf/builtin-stat.c               | 12 ++++++++---
>  tools/perf/util/event.c                 |  2 +-
>  tools/perf/util/evsel.c                 |  4 ++--
>  tools/perf/util/util.c                  |  3 ++-
>  7 files changed, 37 insertions(+), 34 deletions(-)

Pulled, thanks a lot Arnaldo!

	Ingo

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

end of thread, other threads:[~2017-04-17  8:15 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 11:59 [GIT PULL 0/7] perf/core improvements and fixes Jiri Olsa
2014-04-28 11:59 ` [PATCH 1/7] perf tests: Factor out fake_setup_machine() Jiri Olsa
2014-04-28 12:00 ` [PATCH 2/7] perf tests: Add a test case for hists filtering Jiri Olsa
2014-04-28 12:00 ` [PATCH 3/7] perf tests: Add thread maps lookup automated tests Jiri Olsa
2014-04-28 12:00 ` [PATCH 4/7] perf tools: Allocate thread map_groups's dynamically Jiri Olsa
2014-04-28 12:00 ` [PATCH 5/7] perf tools: Reference count map_groups objects Jiri Olsa
2014-04-28 12:00 ` [PATCH 6/7] perf tools: Share map_groups among threads of the same group Jiri Olsa
2014-04-28 12:00 ` [PATCH 7/7] perf tests: Add map groups sharing with thread object test Jiri Olsa
2014-04-29  6:42 ` [GIT PULL 0/7] perf/core improvements and fixes Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2017-04-13 19:35 Arnaldo Carvalho de Melo
2017-04-14 16:07 ` Arnaldo Carvalho de Melo
2017-04-17  8:15   ` Ingo Molnar
2015-11-23 21:53 Arnaldo Carvalho de Melo
2015-11-24  8:10 ` Ingo Molnar
2015-11-24  8:28   ` Jiri Olsa
2015-11-24  8:42     ` Ingo Molnar
2015-11-24  9:26       ` Jiri Olsa
2015-11-24  9:47         ` Jiri Olsa
2015-11-26 11:00           ` Ingo Molnar
2015-11-26 12:47             ` Jiri Olsa
2015-11-26  7:56         ` Ingo Molnar
2015-11-26  8:12           ` Ingo Molnar
2015-11-26  9:09             ` Jiri Olsa
2015-11-24 10:28   ` Jiri Olsa
2015-11-26  8:13   ` Ingo Molnar
2015-06-12  2:15 Arnaldo Carvalho de Melo
2015-06-12  8:09 ` Ingo Molnar
2015-04-10 21:40 Arnaldo Carvalho de Melo
2015-04-11  6:33 ` Ingo Molnar
2014-06-23  7:59 Jiri Olsa
2014-06-25  5:44 ` Ingo Molnar
2013-11-07 15:04 Arnaldo Carvalho de Melo
2013-11-07 15:26 ` Ingo Molnar
2012-06-27 19:20 Arnaldo Carvalho de Melo
2012-06-29 13:12 ` Ingo Molnar
2012-07-02  8:01   ` Dmitry Antipov
2012-03-05 15:55 Arnaldo Carvalho de Melo
2012-03-05 16:02 ` Ingo Molnar

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).