public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/12] Porting perf to Android
@ 2012-09-08  0:43 Irina Tirdea
  2012-09-08  0:43 ` [PATCH v2 01/12] perf tools: include wrapper for magic.h Irina Tirdea
                   ` (12 more replies)
  0 siblings, 13 replies; 28+ messages in thread
From: Irina Tirdea @ 2012-09-08  0:43 UTC (permalink / raw)
  To: mingo, acme, a.p.zijlstra, rostedt
  Cc: paulus, dsahern, namhyung.kim, linux-kernel, Irina Tirdea

This is version 2 for the patches to port perf to Android.
With these patches perf compiles on latest Android tree (JellyBean).

The patches are on top of current perf/core branch of the tip tree.

Changes for v2:
() dropped the patch that replaced on_exit with at_exit. 
A better solution is the one in Bernhard's patch [1]
() dropped one patch and removed unecessary code from patch 02 after
the removal of unneeded network header files [2]
() added two more patches in order to build perf in Android (patches 10 and 11)
() fixed whitespace anc checkpatch issues for patch 12
() make sure all patches are in txt form and will apply properly

[1] https://lkml.org/lkml/2012/8/23/316
[2] https://lkml.org/lkml/2012/8/29/150

Irina Tirdea (12):
  perf tools: include wrapper for magic.h
  perf tools: update types definitions for Android
  perf tools: include __WORDSIZE definition
  perf tools: fix ALIGN redefinition in system headers
  perf tools: include basename for non-glibc systems
  perf tools: fix missing winsize definition
  perf tools: include missing pthread.h header
  perf tools: fix no return in non-void function
  perf tools: replace mkostemp with mkstemp
  tools lib traceevent: replace mempcpy with memcpy
  perf tools: add NO_BACKTRACE for application self-debugging
  perf tools: Use __maybe_used for unused variables

 tools/lib/traceevent/event-parse.c                 |   12 ++-
 tools/lib/traceevent/event-parse.h                 |    4 +-
 tools/perf/Makefile                                |    9 ++
 tools/perf/bench/bench.h                           |    3 +-
 tools/perf/bench/mem-memcpy.c                      |    2 +-
 tools/perf/bench/mem-memset.c                      |    2 +-
 tools/perf/bench/sched-messaging.c                 |    2 +-
 tools/perf/bench/sched-pipe.c                      |    4 +-
 tools/perf/builtin-annotate.c                      |    2 +-
 tools/perf/builtin-bench.c                         |    2 +-
 tools/perf/builtin-buildid-cache.c                 |    7 +-
 tools/perf/builtin-buildid-list.c                  |    3 +-
 tools/perf/builtin-diff.c                          |    4 +-
 tools/perf/builtin-evlist.c                        |    2 +-
 tools/perf/builtin-help.c                          |    2 +-
 tools/perf/builtin-inject.c                        |   24 +++--
 tools/perf/builtin-kmem.c                          |   22 ++--
 tools/perf/builtin-kvm.c                           |    2 +-
 tools/perf/builtin-list.c                          |    2 +-
 tools/perf/builtin-lock.c                          |    4 +-
 tools/perf/builtin-probe.c                         |   24 ++---
 tools/perf/builtin-record.c                        |   10 +-
 tools/perf/builtin-report.c                        |   11 +-
 tools/perf/builtin-sched.c                         |   69 +++++++------
 tools/perf/builtin-script.c                        |   29 +++---
 tools/perf/builtin-stat.c                          |   40 ++++---
 tools/perf/builtin-test.c                          |    9 +-
 tools/perf/builtin-timechart.c                     |   30 +++---
 tools/perf/builtin-top.c                           |    7 +-
 tools/perf/config/feature-tests.mak                |   14 +++
 tools/perf/perf.c                                  |    1 +
 tools/perf/ui/browser.c                            |    7 +-
 tools/perf/ui/browsers/annotate.c                  |    6 +-
 tools/perf/ui/gtk/browser.c                        |    5 +-
 tools/perf/ui/gtk/setup.c                          |    2 +-
 tools/perf/ui/gtk/util.c                           |    4 +-
 tools/perf/ui/helpline.c                           |    2 +-
 tools/perf/ui/helpline.h                           |    8 +-
 tools/perf/ui/tui/setup.c                          |    4 +-
 tools/perf/util/alias.c                            |    3 +-
 tools/perf/util/annotate.c                         |    6 +-
 tools/perf/util/annotate.h                         |   14 +--
 tools/perf/util/build-id.c                         |   11 +-
 tools/perf/util/cache.h                            |    6 +-
 tools/perf/util/callchain.c                        |    6 +-
 tools/perf/util/cgroup.c                           |    4 +-
 tools/perf/util/config.c                           |    6 +-
 tools/perf/util/debug.h                            |    9 +-
 tools/perf/util/dso-test-data.c                    |    2 +-
 tools/perf/util/event.c                            |   29 +++---
 tools/perf/util/event.h                            |    2 +-
 tools/perf/util/header.c                           |  109 +++++++++++---------
 tools/perf/util/help.c                             |    4 +-
 tools/perf/util/hist.c                             |    2 +-
 tools/perf/util/hist.h                             |   32 +++---
 tools/perf/util/include/linux/bitops.h             |    9 ++
 tools/perf/util/include/linux/compiler.h           |    8 +-
 tools/perf/util/include/linux/kernel.h             |   13 ++-
 tools/perf/util/include/linux/magic.h              |   12 +++
 tools/perf/util/include/linux/types.h              |    8 ++
 tools/perf/util/intlist.c                          |    4 +-
 tools/perf/util/map.h                              |    2 +-
 tools/perf/util/parse-events-test.c                |    6 +-
 tools/perf/util/parse-events.c                     |    7 +-
 tools/perf/util/parse-events.l                     |    2 +-
 tools/perf/util/parse-events.y                     |    4 +-
 tools/perf/util/parse-options.c                    |    3 +-
 tools/perf/util/perf_regs.h                        |    2 +-
 tools/perf/util/pmu.y                              |    6 +-
 tools/perf/util/probe-event.c                      |   21 ++--
 tools/perf/util/probe-finder.c                     |    4 +-
 tools/perf/util/python.c                           |    8 +-
 .../perf/util/scripting-engines/trace-event-perl.c |    8 +-
 .../util/scripting-engines/trace-event-python.c    |   10 +-
 tools/perf/util/session.c                          |   54 +++++-----
 tools/perf/util/sort.c                             |   14 ++-
 tools/perf/util/symbol-minimal.c                   |   28 ++---
 tools/perf/util/symbol.c                           |    4 +-
 tools/perf/util/symbol.h                           |   10 +-
 tools/perf/util/top.h                              |    1 +
 tools/perf/util/trace-event-parse.c                |    4 +-
 tools/perf/util/trace-event-scripting.c            |   33 +++---
 tools/perf/util/unwind.c                           |   36 ++++---
 tools/perf/util/unwind.h                           |   11 +-
 tools/perf/util/util.c                             |    6 ++
 tools/perf/util/util.h                             |    2 +-
 tools/perf/util/wrapper.c                          |    3 +-
 87 files changed, 576 insertions(+), 408 deletions(-)
 create mode 100644 tools/perf/util/include/linux/magic.h

-- 
1.7.9.5


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

end of thread, other threads:[~2012-09-10 21:42 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08  0:43 [PATCH v2 00/12] Porting perf to Android Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 01/12] perf tools: include wrapper for magic.h Irina Tirdea
2012-09-08  9:13   ` Pekka Enberg
2012-09-08 22:39     ` Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 02/12] perf tools: update types definitions for Android Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 03/12] perf tools: include __WORDSIZE definition Irina Tirdea
2012-09-08  9:07   ` Pekka Enberg
2012-09-08 22:19     ` Irina Tirdea
2012-09-10 14:44       ` Peter Zijlstra
2012-09-10 21:42         ` Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 04/12] perf tools: fix ALIGN redefinition in system headers Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 05/12] perf tools: include basename for non-glibc systems Irina Tirdea
2012-09-08  9:09   ` Pekka Enberg
2012-09-08 14:33     ` David Ahern
2012-09-08 11:43   ` [tip:perf/core] " tip-bot for Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 06/12] perf tools: fix missing winsize definition Irina Tirdea
2012-09-08 11:44   ` [tip:perf/core] " tip-bot for Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 07/12] perf tools: include missing pthread.h header Irina Tirdea
2012-09-08 11:45   ` [tip:perf/core] " tip-bot for Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 08/12] perf tools: fix no return in non-void function Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 09/12] perf tools: replace mkostemp with mkstemp Irina Tirdea
2012-09-08 11:46   ` [tip:perf/core] " tip-bot for Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 10/12] tools lib traceevent: replace mempcpy with memcpy Irina Tirdea
2012-09-08 11:47   ` [tip:perf/core] " tip-bot for Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 11/12] perf tools: add NO_BACKTRACE for application self-debugging Irina Tirdea
2012-09-08 11:48   ` [tip:perf/core] " tip-bot for Irina Tirdea
2012-09-08  0:43 ` [PATCH v2 12/12] perf tools: Use __maybe_used for unused variables Irina Tirdea
2012-09-08  1:14 ` [PATCH v2 00/12] Porting perf to Android Arnaldo Carvalho de Melo

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