OSDN Git Service

android-x86/system-extras.git
8 years agoam d0c8ca57: am c35c060a: (-s ours) am 13dedc6a: Merge "Simpleperf: check build id...
Yabin Cui [Thu, 27 Aug 2015 14:41:52 +0000 (14:41 +0000)]
am d0c8ca57: am c35c060a: (-s ours) am 13dedc6a: Merge "Simpleperf: check build id in report command."

* commit 'd0c8ca57d7079165ca4cc4686da9e8f6cc617354':

8 years agoam 7374b6f8: am 6999c941: (-s ours) am b89e81dc: fs_config: align with new explicit...
Thierry Strudel [Thu, 27 Aug 2015 14:41:49 +0000 (14:41 +0000)]
am 7374b6f8: am 6999c941: (-s ours) am b89e81dc: fs_config: align with new explicit fs_config target_out parameter

* commit '7374b6f8fd0028972a2c730132042c4f00f3baa7':

8 years agoam c35c060a: (-s ours) am 13dedc6a: Merge "Simpleperf: check build id in report command."
Yabin Cui [Thu, 27 Aug 2015 11:16:56 +0000 (11:16 +0000)]
am c35c060a: (-s ours) am 13dedc6a: Merge "Simpleperf: check build id in report command."

* commit 'c35c060adfaa7b80d7eed30c2fd2d76c34ba1e35':

8 years agoam 6999c941: (-s ours) am b89e81dc: fs_config: align with new explicit fs_config...
Thierry Strudel [Thu, 27 Aug 2015 11:16:54 +0000 (11:16 +0000)]
am 6999c941: (-s ours) am b89e81dc: fs_config: align with new explicit fs_config target_out parameter

* commit '6999c941d7e6ec256e3047a5136e00502206fefd':

8 years agoam d445e607: am ab7f3975: am 58cd4204: am c7d19e4d: Adding 64 bit emmc_rand_perf
Gopinath [Wed, 26 Aug 2015 21:11:07 +0000 (21:11 +0000)]
am d445e607: am ab7f3975: am 58cd4204: am c7d19e4d: Adding 64 bit emmc_rand_perf

* commit 'd445e607a06f56ea8f3ece5a6dcb69c0e97aafb1':
  Adding 64 bit emmc_rand_perf

8 years agoam ab7f3975: am 58cd4204: am c7d19e4d: Adding 64 bit emmc_rand_perf
Gopinath [Wed, 26 Aug 2015 18:02:06 +0000 (18:02 +0000)]
am ab7f3975: am 58cd4204: am c7d19e4d: Adding 64 bit emmc_rand_perf

* commit 'ab7f3975f5fb89e8cf823a623fe9973de7cb7bed':
  Adding 64 bit emmc_rand_perf

8 years agoam 58cd4204: am c7d19e4d: Adding 64 bit emmc_rand_perf
Gopinath [Wed, 26 Aug 2015 17:48:32 +0000 (17:48 +0000)]
am 58cd4204: am c7d19e4d: Adding 64 bit emmc_rand_perf

* commit '58cd4204135501f59059763e699ea3df6430c828':
  Adding 64 bit emmc_rand_perf

8 years agoam c7d19e4d: Adding 64 bit emmc_rand_perf
Gopinath [Wed, 26 Aug 2015 17:40:34 +0000 (17:40 +0000)]
am c7d19e4d: Adding 64 bit emmc_rand_perf

* commit 'c7d19e4da5e54231a54abf31afdc4531114a184b':
  Adding 64 bit emmc_rand_perf

8 years agoAdding 64 bit emmc_rand_perf
Gopinath [Tue, 25 Aug 2015 23:16:09 +0000 (16:16 -0700)]
Adding 64 bit emmc_rand_perf

Genrating 32bit and 64bit variant in local/tmp

Change-Id: Ia9a640eab5bfc428d00af4ae0ada6184d946108a

8 years agomake_ext4fs: Turn off EXT4_FEATURE_RO_COMPAT_GDT_CSUM flag for now
Daniel Rosenberg [Tue, 25 Aug 2015 00:47:32 +0000 (17:47 -0700)]
make_ext4fs: Turn off EXT4_FEATURE_RO_COMPAT_GDT_CSUM flag for now

Unused inodes is currently being set incorrectly after
factory reset. Disabling uninit_bg until we track down
the cause.

Bug: 22679392
Change-Id: I62d90c92b8a2f7562f73cfb235b9b207d80e9fad
Signed-off-by: Daniel Rosenberg <drosen@google.com>
8 years agoam d3ba662a: am 44df7549: Merge "fix bug in mkf2fs tool calculation of f2fs filesyste...
Mark Salyzyn [Mon, 24 Aug 2015 17:30:04 +0000 (17:30 +0000)]
am d3ba662a: am 44df7549: Merge "fix bug in mkf2fs tool calculation of f2fs filesystem length"

* commit 'd3ba662acdd5652962ec36c382c3905a0196da7b':
  fix bug in mkf2fs tool calculation of f2fs filesystem length

8 years agoam 44df7549: Merge "fix bug in mkf2fs tool calculation of f2fs filesystem length"
Mark Salyzyn [Mon, 24 Aug 2015 17:24:01 +0000 (17:24 +0000)]
am 44df7549: Merge "fix bug in mkf2fs tool calculation of f2fs filesystem length"

* commit '44df7549d622456c3f18e371ec57dbf585a68a1b':
  fix bug in mkf2fs tool calculation of f2fs filesystem length

8 years agoMerge "fix bug in mkf2fs tool calculation of f2fs filesystem length"
Mark Salyzyn [Mon, 24 Aug 2015 17:08:11 +0000 (17:08 +0000)]
Merge "fix bug in mkf2fs tool calculation of f2fs filesystem length"

8 years agofix bug in mkf2fs tool calculation of f2fs filesystem length
lei wang wang [Mon, 24 Aug 2015 07:47:36 +0000 (15:47 +0800)]
fix bug in mkf2fs tool calculation of f2fs filesystem length

8 years agoam 668cb0e8: am bea942d7: Merge "Simpleperf: use OneTimeFreeAllocator to allocate...
Yabin Cui [Sat, 22 Aug 2015 00:14:11 +0000 (00:14 +0000)]
am 668cb0e8: am bea942d7: Merge "Simpleperf: use OneTimeFreeAllocator to allocate symbol names."

* commit '668cb0e8423a60f87db67429487213f16173d4d5':
  Simpleperf: use OneTimeFreeAllocator to allocate symbol names.

8 years agoam bea942d7: Merge "Simpleperf: use OneTimeFreeAllocator to allocate symbol names."
Yabin Cui [Sat, 22 Aug 2015 00:04:53 +0000 (00:04 +0000)]
am bea942d7: Merge "Simpleperf: use OneTimeFreeAllocator to allocate symbol names."

* commit 'bea942d7f32002f90b42a8f5b28a774e5b6cb4c7':
  Simpleperf: use OneTimeFreeAllocator to allocate symbol names.

8 years agoMerge "Simpleperf: use OneTimeFreeAllocator to allocate symbol names."
Yabin Cui [Fri, 21 Aug 2015 23:52:29 +0000 (23:52 +0000)]
Merge "Simpleperf: use OneTimeFreeAllocator to allocate symbol names."

8 years agoSimpleperf: use OneTimeFreeAllocator to allocate symbol names.
Yabin Cui [Fri, 21 Aug 2015 21:23:43 +0000 (14:23 -0700)]
Simpleperf: use OneTimeFreeAllocator to allocate symbol names.

simpleperf report takes a lot of time mallocing and freeing memory.
This change reduces the time to free memory.

Before this change:
$sudo simpleperf stat simpleperf report
Performance counter statistics:

    3,258,481,203  cpu-cycles                # 2.290946 GHz                      (80%)
    4,147,660,154  instructions              # 0.785619 cycles per instruction   (79%)

Total test time: 1.422330 seconds.

After this change:
$sudo simpleperf stat simpleperf report
Performance counter statistics:

   1,699,221,386  cpu-cycles                # 2.994754 GHz                      (79%)
   2,739,945,156  instructions              # 0.620166 cycles per instruction   (81%)

Total test time: 0.567399 seconds.

This change also fix a bug in record_file_test.cpp.

Bug: 23387541

Change-Id: I59fc86ca54a6c09bd08eec8ada931ccff88d3102

8 years agoam bee96cc2: am bb86cc8c: Merge "Simpleperf: refactor dso."
Yabin Cui [Fri, 21 Aug 2015 22:35:26 +0000 (22:35 +0000)]
am bee96cc2: am bb86cc8c: Merge "Simpleperf: refactor dso."

* commit 'bee96cc2d96d574dc7322beeb4ff2ced61c6be8d':
  Simpleperf: refactor dso.

8 years agoam bb86cc8c: Merge "Simpleperf: refactor dso."
Yabin Cui [Fri, 21 Aug 2015 22:25:29 +0000 (22:25 +0000)]
am bb86cc8c: Merge "Simpleperf: refactor dso."

* commit 'bb86cc8c6ac869044c3811c59616e01255c983d3':
  Simpleperf: refactor dso.

8 years agoMerge "Simpleperf: refactor dso."
Yabin Cui [Fri, 21 Aug 2015 20:25:39 +0000 (20:25 +0000)]
Merge "Simpleperf: refactor dso."

8 years agoSimpleperf: refactor dso.
Yabin Cui [Thu, 20 Aug 2015 22:04:39 +0000 (15:04 -0700)]
Simpleperf: refactor dso.

Having DsoEntry and DsoFactory confuses me which part code should belong to.
This change merges the two into class Dso and makes things clear.
It is also a preparation for performance optimization in Dso.

Bug: 23387541
Change-Id: I41e773406a7f1582a11a18859df252ce8ea3acfa

8 years agoam 78996275: am 4c5b176c: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 18:32:37 +0000 (18:32 +0000)]
am 78996275: am 4c5b176c: Merge "bundle init.rc contents with its service"

* commit '78996275feb2c5bf1e508055c1a100e7d01ebe48':
  bundle init.rc contents with its service

8 years agoam 4c5b176c: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 18:24:36 +0000 (18:24 +0000)]
am 4c5b176c: Merge "bundle init.rc contents with its service"

* commit '4c5b176c252d2620086c688ef4384a10ad0eedaa':
  bundle init.rc contents with its service

8 years agoMerge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 17:42:32 +0000 (17:42 +0000)]
Merge "bundle init.rc contents with its service"

8 years agoam df83a487: am 68cb694f: Merge "Simpleperf: support multiple event types in record...
Yabin Cui [Fri, 21 Aug 2015 03:35:52 +0000 (03:35 +0000)]
am df83a487: am 68cb694f: Merge "Simpleperf: support multiple event types in record command."

* commit 'df83a4875a29d319568a94acdeda5e44cc5e4856':
  Simpleperf: support multiple event types in record command.

8 years agoam 68cb694f: Merge "Simpleperf: support multiple event types in record command."
Yabin Cui [Fri, 21 Aug 2015 03:30:20 +0000 (03:30 +0000)]
am 68cb694f: Merge "Simpleperf: support multiple event types in record command."

* commit '68cb694f4f2221b20c9a74a496a82b1043ac2016':
  Simpleperf: support multiple event types in record command.

8 years agoMerge "Simpleperf: support multiple event types in record command."
Yabin Cui [Fri, 21 Aug 2015 03:20:08 +0000 (03:20 +0000)]
Merge "Simpleperf: support multiple event types in record command."

8 years agoam cd31278f: am b84ee6cd: Merge "Simpleperf: improve output of stat command."
Yabin Cui [Thu, 20 Aug 2015 02:25:12 +0000 (02:25 +0000)]
am cd31278f: am b84ee6cd: Merge "Simpleperf: improve output of stat command."

* commit 'cd31278fe13935387f3306405a2f1f85f49eec99':
  Simpleperf: improve output of stat command.

8 years agoam b84ee6cd: Merge "Simpleperf: improve output of stat command."
Yabin Cui [Thu, 20 Aug 2015 02:17:59 +0000 (02:17 +0000)]
am b84ee6cd: Merge "Simpleperf: improve output of stat command."

* commit 'b84ee6cd81da6a0929035c589f1c0450e8d10902':
  Simpleperf: improve output of stat command.

8 years agoSimpleperf: support multiple event types in record command.
Yabin Cui [Wed, 19 Aug 2015 22:46:51 +0000 (15:46 -0700)]
Simpleperf: support multiple event types in record command.

Change-Id: I0aa0e8c9491370b5e4fafdaf8cdc5613c26c78f5

8 years agoMerge "Simpleperf: improve output of stat command."
Yabin Cui [Thu, 20 Aug 2015 02:03:29 +0000 (02:03 +0000)]
Merge "Simpleperf: improve output of stat command."

8 years agobundle init.rc contents with its service
Tom Cherry [Fri, 14 Aug 2015 20:06:21 +0000 (13:06 -0700)]
bundle init.rc contents with its service

Bug: 23186545
Change-Id: I29e6f1e6e404838c7b57a736012a28d4d60f951a

8 years agoSimpleperf: improve output of stat command.
Yabin Cui [Wed, 19 Aug 2015 22:01:12 +0000 (15:01 -0700)]
Simpleperf: improve output of stat command.

Before this change:
$sudo simpleperf record -a sleep 1
Performance counter statistics:

                    5994649915(scaled)  cpu-cycles
                    8785461570(scaled)  stalled-cycles-frontend
                    6089237592(scaled)  instructions
                    1086987265(scaled)  branch-instructions
                      11019426(scaled)  branch-misses
                   40306210522         task-clock
                         21955         context-switches
                         16659         page-faults

Total test time: 1.007973 seconds.

After this change:
$sudo simpleperf record -a sleep 1
Performance counter statistics:

    11,768,763,985  cpu-cycles                # 11.675808 Ghz                     (83%)
    16,142,943,081  stalled-cycles-frontend   # 16.015 G/sec                      (67%)
    17,286,201,730  instructions              # 0.680818 cycles per instruction   (83%)
     3,141,529,369  branch-instructions       # 3.117 G/sec                       (84%)
        18,168,963  branch-misses             # 0.578348% miss rate               (83%)
  40222.432118(ms)  task-clock                # 3990.473223% cpu usage            (100%)
            19,240  context-switches          # 19.088 K/sec                      (100%)
             9,302  page-faults               # 9.229 K/sec                       (100%)

Total test time: 1.007961 seconds.

Change-Id: I5590699957650e246b14b3d2b405108483631908

8 years agoam 12fffb0a: am 5f0c337d: Merge "Simpleperf: add raw data in sample records for trace...
Yabin Cui [Wed, 19 Aug 2015 22:48:55 +0000 (22:48 +0000)]
am 12fffb0a: am 5f0c337d: Merge "Simpleperf: add raw data in sample records for tracepoint events."

* commit '12fffb0a100c3c1f0beae32701425e3bec0b76be':
  Simpleperf: add raw data in sample records for tracepoint events.

8 years agoam 42c11d4f: am 25d34e2a: Merge "Use the new version of android_fork_execvp_ext()"
Yusuke Sato [Wed, 19 Aug 2015 22:29:06 +0000 (22:29 +0000)]
am 42c11d4f: am 25d34e2a: Merge "Use the new version of android_fork_execvp_ext()"

* commit '42c11d4f4412723d16b173c327f0f1feb3c4a703':
  Use the new version of android_fork_execvp_ext()

8 years agoam 5f0c337d: Merge "Simpleperf: add raw data in sample records for tracepoint events."
Yabin Cui [Wed, 19 Aug 2015 22:25:49 +0000 (22:25 +0000)]
am 5f0c337d: Merge "Simpleperf: add raw data in sample records for tracepoint events."

* commit '5f0c337dfa35d575585ab6c1789f196e94ab0488':
  Simpleperf: add raw data in sample records for tracepoint events.

8 years agoam 25d34e2a: Merge "Use the new version of android_fork_execvp_ext()"
Yusuke Sato [Wed, 19 Aug 2015 22:20:30 +0000 (22:20 +0000)]
am 25d34e2a: Merge "Use the new version of android_fork_execvp_ext()"

* commit '25d34e2af21e7a34f01eef25df94be73995cb7fc':
  Use the new version of android_fork_execvp_ext()

8 years agoMerge "Simpleperf: add raw data in sample records for tracepoint events."
Yabin Cui [Wed, 19 Aug 2015 22:10:22 +0000 (22:10 +0000)]
Merge "Simpleperf: add raw data in sample records for tracepoint events."

8 years agoMerge "Use the new version of android_fork_execvp_ext()"
Yusuke Sato [Wed, 19 Aug 2015 20:23:43 +0000 (20:23 +0000)]
Merge "Use the new version of android_fork_execvp_ext()"

8 years agoSimpleperf: add raw data in sample records for tracepoint events.
Yabin Cui [Wed, 19 Aug 2015 17:12:51 +0000 (10:12 -0700)]
Simpleperf: add raw data in sample records for tracepoint events.

tracepoint events store tracing info in raw data in sample records.
And we need to enable it in sample_type.

Change-Id: Icd866059f4703b56724845d7526ae58099e83113

8 years agoUse the new version of android_fork_execvp_ext()
Yusuke Sato [Tue, 18 Aug 2015 19:10:45 +0000 (12:10 -0700)]
Use the new version of android_fork_execvp_ext()

This CL depends on I818f5cf61045286c8d64a91b6d50f05740329be1.

Bug: 21725996
Change-Id: I2d26cf79989de717b7695757d0297a16dedbebbd

8 years agoam 98fce12b: am 3c599ffc: Merge "Simpleperf: demangle symbols only when necessary."
Yabin Cui [Wed, 19 Aug 2015 03:10:30 +0000 (03:10 +0000)]
am 98fce12b: am 3c599ffc: Merge "Simpleperf: demangle symbols only when necessary."

* commit '98fce12b2bed8f3bac80976a38dfea0aaa7ed429':
  Simpleperf: demangle symbols only when necessary.

8 years agoam 3c599ffc: Merge "Simpleperf: demangle symbols only when necessary."
Yabin Cui [Wed, 19 Aug 2015 02:59:22 +0000 (02:59 +0000)]
am 3c599ffc: Merge "Simpleperf: demangle symbols only when necessary."

* commit '3c599ffc9954dd25f0f3ad012189f825afd89449':
  Simpleperf: demangle symbols only when necessary.

8 years agoMerge "Simpleperf: demangle symbols only when necessary."
Yabin Cui [Wed, 19 Aug 2015 02:47:33 +0000 (02:47 +0000)]
Merge "Simpleperf: demangle symbols only when necessary."

8 years agoSimpleperf: demangle symbols only when necessary.
Yabin Cui [Tue, 18 Aug 2015 23:32:18 +0000 (16:32 -0700)]
Simpleperf: demangle symbols only when necessary.

Before this change:
$sudo simpleperf record -a sleep 1
$sudo simpleperf stat simpleperf report
Total test time: 4.088779 seconds.

After this change:
$sudo simpleperf record -a sleep 1
$sudo simpleperf stat simpleperf report
Total test time: 1.226267 seconds.

Change-Id: Ifc811f432ac69f770eeb5814e4983f6f19dbc909

8 years agoam cf11b425: am 2c0f9f26: Merge "Add memcpy perf test + graphing script."
Riley Andrews [Tue, 18 Aug 2015 19:40:02 +0000 (19:40 +0000)]
am cf11b425: am 2c0f9f26: Merge "Add memcpy perf test + graphing script."

* commit 'cf11b4258ad45a2019c1a096615f74073914599f':
  Add memcpy perf test + graphing script.

8 years agoam 2c0f9f26: Merge "Add memcpy perf test + graphing script."
Riley Andrews [Tue, 18 Aug 2015 19:32:11 +0000 (19:32 +0000)]
am 2c0f9f26: Merge "Add memcpy perf test + graphing script."

* commit '2c0f9f263cd6c3857850c7d3a8f2aabb63ce48be':
  Add memcpy perf test + graphing script.

8 years agoMerge "Add memcpy perf test + graphing script."
Riley Andrews [Tue, 18 Aug 2015 19:17:30 +0000 (19:17 +0000)]
Merge "Add memcpy perf test + graphing script."

8 years agoAdd memcpy perf test + graphing script.
Riley Andrews [Mon, 17 Aug 2015 23:42:26 +0000 (16:42 -0700)]
Add memcpy perf test + graphing script.

Change-Id: Iaaac90f4d91dbe6023b64af6e8924f6b9f61e58b

8 years agoam 03439d34: Ext4utils: Fix unused parameters
Andreas Gampe [Thu, 13 Aug 2015 01:02:10 +0000 (01:02 +0000)]
am 03439d34: Ext4utils: Fix unused parameters

* commit '03439d34f1fa0c597511035279f8d40c32761eb9':
  Ext4utils: Fix unused parameters

8 years agoExt4utils: Fix unused parameters
Andreas Gampe [Thu, 6 Aug 2015 00:16:22 +0000 (17:16 -0700)]
Ext4utils: Fix unused parameters

Refactor code so that parameters are not unused and the debug code
is always at least checked (and in non-debug cases compiled away).

Bug: 18632512

(cherry picked from commit 7ec740fee7356dd72918c9b9fd0a91276356673b)

Change-Id: I0e1eedae97a6edceb1771e10e6ec82c641ba9c5e

8 years agoam 883d7a7d: am 89a2254a: Merge "Add missing include."
Dan Albert [Wed, 12 Aug 2015 02:11:26 +0000 (02:11 +0000)]
am 883d7a7d: am 89a2254a: Merge "Add missing include."

* commit '883d7a7d08cae35d8a1479c4d5b40d2d8fa3ff5c':
  Add missing include.

8 years agoam 89a2254a: Merge "Add missing include."
Dan Albert [Wed, 12 Aug 2015 02:05:40 +0000 (02:05 +0000)]
am 89a2254a: Merge "Add missing include."

* commit '89a2254abae3f427aa85fb3a3afe9a27cdfad68d':
  Add missing include.

8 years agoMerge "Add missing include."
Dan Albert [Wed, 12 Aug 2015 01:49:40 +0000 (01:49 +0000)]
Merge "Add missing include."

8 years agoAdd missing include.
Dan Albert [Wed, 12 Aug 2015 01:36:20 +0000 (18:36 -0700)]
Add missing include.

Used to be transitively included by libc++.

Change-Id: I07497ccc9bbcf3370b065876d91aed760c5f6118

8 years agoam d387f9a2: am 587fc682: Merge "Add missing includes for pid_t."
Dan Albert [Tue, 11 Aug 2015 23:39:42 +0000 (23:39 +0000)]
am d387f9a2: am 587fc682: Merge "Add missing includes for pid_t."

* commit 'd387f9a2f02c6a478a087ef2b7648cb129e0085d':
  Add missing includes for pid_t.

8 years agoam 587fc682: Merge "Add missing includes for pid_t."
Dan Albert [Tue, 11 Aug 2015 23:30:27 +0000 (23:30 +0000)]
am 587fc682: Merge "Add missing includes for pid_t."

* commit '587fc682ec1e81c400cd61f742bf8a0a26343425':
  Add missing includes for pid_t.

8 years agoMerge "Add missing includes for pid_t."
Dan Albert [Tue, 11 Aug 2015 23:11:03 +0000 (23:11 +0000)]
Merge "Add missing includes for pid_t."

8 years agoAdd missing includes for pid_t.
Dan Albert [Tue, 11 Aug 2015 22:59:43 +0000 (15:59 -0700)]
Add missing includes for pid_t.

Was being transitively included through libc++, but the libc++ update
fixes some of the leaky headers (used to always include unistd.h!).

Change-Id: I40caf74695bb75901bda24665b8d83a6914de9c4

8 years agoam 28c6a6af: am 31d0d7cb: Merge "Add <endian.h> back and stop building one tool for...
Elliott Hughes [Mon, 10 Aug 2015 23:13:24 +0000 (23:13 +0000)]
am 28c6a6af: am 31d0d7cb: Merge "Add <endian.h> back and stop building one tool for the Mac."

* commit '28c6a6afd1a2c151418c159c260073e844490eca':
  Add <endian.h> back and stop building one tool for the Mac.

8 years agoam 31d0d7cb: Merge "Add <endian.h> back and stop building one tool for the Mac."
Elliott Hughes [Mon, 10 Aug 2015 23:04:54 +0000 (23:04 +0000)]
am 31d0d7cb: Merge "Add <endian.h> back and stop building one tool for the Mac."

* commit '31d0d7cbc1f4ed6a9295dd326104b8071478f924':
  Add <endian.h> back and stop building one tool for the Mac.

8 years agoMerge "Add <endian.h> back and stop building one tool for the Mac."
Elliott Hughes [Mon, 10 Aug 2015 22:53:27 +0000 (22:53 +0000)]
Merge "Add <endian.h> back and stop building one tool for the Mac."

8 years agoAdd <endian.h> back and stop building one tool for the Mac.
Elliott Hughes [Mon, 10 Aug 2015 22:49:04 +0000 (15:49 -0700)]
Add <endian.h> back and stop building one tool for the Mac.

We can't stop building all this stuff until we clean up the build
system to not require the OTA tools on Mac OS. This code does actually
use htobe64 and so should have included <endian.h>, so put that back.

Change-Id: I2807b4f237d3e26d470652f373f2de85864691c4

8 years agoam e4276722: am 4361173d: Merge "Another go at fixing the Mac build."
Elliott Hughes [Mon, 10 Aug 2015 22:30:53 +0000 (22:30 +0000)]
am e4276722: am 4361173d: Merge "Another go at fixing the Mac build."

* commit 'e42767224948df17145289b110c94e386bed6185':
  Another go at fixing the Mac build.

8 years agoam 4361173d: Merge "Another go at fixing the Mac build."
Elliott Hughes [Mon, 10 Aug 2015 22:22:47 +0000 (22:22 +0000)]
am 4361173d: Merge "Another go at fixing the Mac build."

* commit '4361173d8b9d348e9566f754044db3fedfdf47eb':
  Another go at fixing the Mac build.

8 years agoMerge "Another go at fixing the Mac build."
Elliott Hughes [Mon, 10 Aug 2015 21:52:31 +0000 (21:52 +0000)]
Merge "Another go at fixing the Mac build."

8 years agoAnother go at fixing the Mac build.
Elliott Hughes [Mon, 10 Aug 2015 21:51:20 +0000 (14:51 -0700)]
Another go at fixing the Mac build.

I don't want to have to work out how to disable building OTAs on Macs --
though we should -- but it actually looks like this file didn't need the
problematic header file anyway.

Change-Id: I9d7eff8e72192958b3e880ae48fef194820ce148

8 years agoam c795f109: resolved conflicts for merge of b699685e to mnc-dr-dev-plus-aosp
Elliott Hughes [Mon, 10 Aug 2015 20:10:40 +0000 (20:10 +0000)]
am c795f109: resolved conflicts for merge of b699685e to mnc-dr-dev-plus-aosp

* commit 'c795f109bcf2d4c8ad3e854f043fa8214effdb59':
  Fix Mac build.

8 years agoresolved conflicts for merge of b699685e to mnc-dr-dev-plus-aosp
Elliott Hughes [Mon, 10 Aug 2015 20:01:59 +0000 (13:01 -0700)]
resolved conflicts for merge of b699685e to mnc-dr-dev-plus-aosp

Change-Id: I4d517d1e17fc512730e9d9d61562cb6407a8729a

8 years agoMerge "Fix Mac build."
Elliott Hughes [Mon, 10 Aug 2015 17:54:35 +0000 (17:54 +0000)]
Merge "Fix Mac build."

8 years agoFix Mac build.
Elliott Hughes [Mon, 10 Aug 2015 17:43:57 +0000 (10:43 -0700)]
Fix Mac build.

Change-Id: I4d389d7050970d8fd460a4238e8c2963211780b4

8 years agoam 3ccfc706: am c19b2933: Merge "Simpleperf: add filters to report command."
Yabin Cui [Sat, 8 Aug 2015 02:50:06 +0000 (02:50 +0000)]
am 3ccfc706: am c19b2933: Merge "Simpleperf: add filters to report command."

* commit '3ccfc70657c3b32c4a917ccd2290f5105eef57cc':
  Simpleperf: add filters to report command.

8 years agoam c0e63d99: am a5732f78: Merge "Simpleperf: support caller callgraph."
Yabin Cui [Sat, 8 Aug 2015 02:48:46 +0000 (02:48 +0000)]
am c0e63d99: am a5732f78: Merge "Simpleperf: support caller callgraph."

* commit 'c0e63d996c89ada16d4790d99c835239b9c86d18':
  Simpleperf: support caller callgraph.

8 years agoam c19b2933: Merge "Simpleperf: add filters to report command."
Yabin Cui [Fri, 7 Aug 2015 23:28:54 +0000 (23:28 +0000)]
am c19b2933: Merge "Simpleperf: add filters to report command."

* commit 'c19b2933408bad3ae45de3817719943d1465af69':
  Simpleperf: add filters to report command.

8 years agoMerge "Simpleperf: add filters to report command."
Yabin Cui [Fri, 7 Aug 2015 23:15:42 +0000 (23:15 +0000)]
Merge "Simpleperf: add filters to report command."

8 years agoSimpleperf: add filters to report command.
Yabin Cui [Thu, 6 Aug 2015 18:25:09 +0000 (11:25 -0700)]
Simpleperf: add filters to report command.

Change-Id: I0e6cec1ce638fd4c832fe398a08168138e22ee7e

8 years agoam a5732f78: Merge "Simpleperf: support caller callgraph."
Yabin Cui [Fri, 7 Aug 2015 21:12:58 +0000 (21:12 +0000)]
am a5732f78: Merge "Simpleperf: support caller callgraph."

* commit 'a5732f780a1485ac1d8f9855bc2a0b56714afe42':
  Simpleperf: support caller callgraph.

8 years agoMerge "Simpleperf: support caller callgraph."
Yabin Cui [Fri, 7 Aug 2015 16:12:18 +0000 (16:12 +0000)]
Merge "Simpleperf: support caller callgraph."

8 years agoMerge "Ext4utils: Fix unused parameters"
Andreas Gampe [Thu, 6 Aug 2015 18:38:16 +0000 (18:38 +0000)]
Merge "Ext4utils: Fix unused parameters"

8 years agoam c2ad4cb2: am 32ee7cc0: Merge "Simpleperf: don\'t check for empty build id."
Yabin Cui [Thu, 6 Aug 2015 17:45:23 +0000 (17:45 +0000)]
am c2ad4cb2: am 32ee7cc0: Merge "Simpleperf: don\'t check for empty build id."

* commit 'c2ad4cb26dcd17b15167cc0ef77f10ff71ed95b3':
  Simpleperf: don't check for empty build id.

8 years agoam 32ee7cc0: Merge "Simpleperf: don\'t check for empty build id."
Yabin Cui [Thu, 6 Aug 2015 17:35:30 +0000 (17:35 +0000)]
am 32ee7cc0: Merge "Simpleperf: don\'t check for empty build id."

* commit '32ee7cc00b4136765764266446600aaf2184b246':
  Simpleperf: don't check for empty build id.

8 years agoMerge "Simpleperf: don't check for empty build id."
Yabin Cui [Thu, 6 Aug 2015 17:22:21 +0000 (17:22 +0000)]
Merge "Simpleperf: don't check for empty build id."

8 years agoSimpleperf: don't check for empty build id.
Yabin Cui [Tue, 4 Aug 2015 21:48:39 +0000 (14:48 -0700)]
Simpleperf: don't check for empty build id.

Change-Id: I670ba4fa32aa764e49022abacd83ef1fdcfa7d0d

8 years agoExt4utils: Fix unused parameters
Andreas Gampe [Thu, 6 Aug 2015 00:16:22 +0000 (17:16 -0700)]
Ext4utils: Fix unused parameters

Refactor code so that parameters are not unused and the debug code
is always at least checked (and in non-debug cases compiled away).

Bug: 18632512
Change-Id: I0e1eedae97a6edceb1771e10e6ec82c641ba9c5e

9 years agoSimpleperf: support caller callgraph.
Yabin Cui [Wed, 5 Aug 2015 00:33:47 +0000 (17:33 -0700)]
Simpleperf: support caller callgraph.

Bug: 22229391
Change-Id: I95af71d50811feb4515a5c4ec7102788a00aad31

9 years agoam a26ae845: am ec53f3cc: Merge "Simpleperf: fix the process of parsing records."
Yabin Cui [Mon, 3 Aug 2015 21:54:52 +0000 (21:54 +0000)]
am a26ae845: am ec53f3cc: Merge "Simpleperf: fix the process of parsing records."

* commit 'a26ae8455873453511fda7aa2cbd95c7fc70cdc0':
  Simpleperf: fix the process of parsing records.

9 years agoam f667af58: am 224d3ba8: Merge "Simpleperf: correct the event type name printed...
Yabin Cui [Mon, 3 Aug 2015 21:54:51 +0000 (21:54 +0000)]
am f667af58: am 224d3ba8: Merge "Simpleperf: correct the event type name printed in stat command."

* commit 'f667af58424923a74f93f8a349c046dfd97e949e':
  Simpleperf: correct the event type name printed in stat command.

9 years agoam ec53f3cc: Merge "Simpleperf: fix the process of parsing records."
Yabin Cui [Mon, 3 Aug 2015 21:47:15 +0000 (21:47 +0000)]
am ec53f3cc: Merge "Simpleperf: fix the process of parsing records."

* commit 'ec53f3ccc3db9461d0b3295f8353ed37b99d4211':
  Simpleperf: fix the process of parsing records.

9 years agoam 224d3ba8: Merge "Simpleperf: correct the event type name printed in stat command."
Yabin Cui [Mon, 3 Aug 2015 21:46:50 +0000 (21:46 +0000)]
am 224d3ba8: Merge "Simpleperf: correct the event type name printed in stat command."

* commit '224d3ba8d5a0c2438b6be1b5f6ae6c01747343a5':
  Simpleperf: correct the event type name printed in stat command.

9 years agoMerge "Simpleperf: fix the process of parsing records."
Yabin Cui [Mon, 3 Aug 2015 20:46:43 +0000 (20:46 +0000)]
Merge "Simpleperf: fix the process of parsing records."

9 years agoMerge "Simpleperf: correct the event type name printed in stat command."
Yabin Cui [Mon, 3 Aug 2015 18:07:12 +0000 (18:07 +0000)]
Merge "Simpleperf: correct the event type name printed in stat command."

9 years agoSimpleperf: fix the process of parsing records.
Yabin Cui [Mon, 3 Aug 2015 18:01:22 +0000 (11:01 -0700)]
Simpleperf: fix the process of parsing records.

It is not correct to parse all the mmap records first, then parse
all the sample records. Instead, records should be parsed one by one.
This change also fix the bug of not writing kernel build id in
record command, which is introduced previously.

Change-Id: I7e6d3d1c74c134e4b7af97c184b6a71c3379a59a

9 years agoam 151d3936: am 9c6eab9a: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS."
Elliott Hughes [Sat, 1 Aug 2015 15:57:54 +0000 (15:57 +0000)]
am 151d3936: am 9c6eab9a: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS."

* commit '151d3936fc80f0bb3592ddf0f80036098fbb3228':
  Use __ANDROID__ instead of HAVE_ANDROID_OS.

9 years agoam 9c6eab9a: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS."
Elliott Hughes [Sat, 1 Aug 2015 15:47:58 +0000 (15:47 +0000)]
am 9c6eab9a: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS."

* commit '9c6eab9a5bb7c979488dcfe7ea71a039e6a369fb':
  Use __ANDROID__ instead of HAVE_ANDROID_OS.

9 years agoSimpleperf: correct the event type name printed in stat command.
Yabin Cui [Sat, 1 Aug 2015 01:40:09 +0000 (18:40 -0700)]
Simpleperf: correct the event type name printed in stat command.

Bug: 22884977
Change-Id: I3c4f5c8dc02d5b17f5942e4e98476d1c4f3fbcad

9 years agoMerge "Use __ANDROID__ instead of HAVE_ANDROID_OS."
Elliott Hughes [Fri, 31 Jul 2015 17:54:17 +0000 (17:54 +0000)]
Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS."

9 years agoUse __ANDROID__ instead of HAVE_ANDROID_OS.
Elliott Hughes [Fri, 31 Jul 2015 15:49:29 +0000 (08:49 -0700)]
Use __ANDROID__ instead of HAVE_ANDROID_OS.

Change-Id: Iee986b6c91b5877155609297c2bd17301ff91d5c

9 years agoam ccff1528: am 504462b2: Merge "Tests for candidate source address restriction"
Erik Kline [Thu, 30 Jul 2015 04:44:33 +0000 (04:44 +0000)]
am ccff1528: am 504462b2: Merge "Tests for candidate source address restriction"

* commit 'ccff1528efb74ed019d4836a6dd8ba82bb54fda6':
  Tests for candidate source address restriction

9 years agoam 504462b2: Merge "Tests for candidate source address restriction"
Erik Kline [Thu, 30 Jul 2015 04:32:38 +0000 (04:32 +0000)]
am 504462b2: Merge "Tests for candidate source address restriction"

* commit '504462b2a2a4ed1ab4436ac5344d6550f808bb1e':
  Tests for candidate source address restriction