OSDN Git Service

android-x86/system-extras.git
7 years agoMerge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841...
Yabin Cui [Wed, 31 Aug 2016 20:13:03 +0000 (20:13 +0000)]
Merge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841af am: ed59da040d
am: 55f2174927

Change-Id: I5f978d057bfb8b39c22a4ea6cd322c61a77a63ae

7 years agoMerge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841af
Yabin Cui [Wed, 31 Aug 2016 19:30:46 +0000 (19:30 +0000)]
Merge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841af
am: ed59da040d

Change-Id: Ib115d926cd45ef211d05122247519f49d924892a

7 years agoMerge "simpleperf: add python report interface on linux." am: 2cb0a666a2
Yabin Cui [Wed, 31 Aug 2016 19:27:44 +0000 (19:27 +0000)]
Merge "simpleperf: add python report interface on linux." am: 2cb0a666a2
am: d05f2841af

Change-Id: I6c7c682c96e8ad70de914c4c241430a72b2f7986

7 years agoMerge "simpleperf: add python report interface on linux."
Yabin Cui [Wed, 31 Aug 2016 19:24:45 +0000 (19:24 +0000)]
Merge "simpleperf: add python report interface on linux."
am: 2cb0a666a2

Change-Id: I36b955ab33c05eda69a081daab8f0208cd81c63a

7 years agoMerge "simpleperf: add python report interface on linux."
Yabin Cui [Wed, 31 Aug 2016 19:14:52 +0000 (19:14 +0000)]
Merge "simpleperf: add python report interface on linux."

7 years agoMerge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69 am: ddd70a190f
Yabin Cui [Wed, 31 Aug 2016 01:43:49 +0000 (01:43 +0000)]
Merge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69 am: ddd70a190f
am: 0b15b130c2

Change-Id: I40205d0cd36c8a3a0b253589434075b4bbbf6c11

7 years agoMerge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40 am...
Daniel Rosenberg [Wed, 31 Aug 2016 01:43:48 +0000 (01:43 +0000)]
Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40 am: e5aa18acf1
am: 03759b0b03

Change-Id: I223123c2cd69c787f919e6d9c006701100d5a71e

7 years agoMerge commit 'cb8b5af' into nyc-dev-plus-aosp am: 3587c22e55
Mitchell Wills [Wed, 31 Aug 2016 01:43:48 +0000 (01:43 +0000)]
Merge commit 'cb8b5af' into nyc-dev-plus-aosp am: 3587c22e55
am: 4c900f9988

Change-Id: Iedad009e2a2b77cfe90011cab58e3ff198706a07

7 years agoMerge "simpleperf: support hotplug events in record cmd." am: 728c8de11d am: 77a7b76f...
Yabin Cui [Wed, 31 Aug 2016 01:43:47 +0000 (01:43 +0000)]
Merge "simpleperf: support hotplug events in record cmd." am: 728c8de11d am: 77a7b76fea am: 071e0d9db2
am: 66b36517d2

Change-Id: I05bf391a8c29c58a8d67bd8e74594dd5cc97a6c0

7 years agoMerge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69
Yabin Cui [Wed, 31 Aug 2016 01:34:30 +0000 (01:34 +0000)]
Merge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69
am: ddd70a190f

Change-Id: I7822043a7795a78e8003f123bd32f61c975d3fdb

7 years agoMerge "simpleperf: fix two errors." am: 9baf7c33bb
Yabin Cui [Wed, 31 Aug 2016 01:32:00 +0000 (01:32 +0000)]
Merge "simpleperf: fix two errors." am: 9baf7c33bb
am: fc62dc7f69

Change-Id: I8a2a40312ff480580b417207236ce07021b0d02f

7 years agoMerge "simpleperf: fix two errors."
Yabin Cui [Wed, 31 Aug 2016 01:29:02 +0000 (01:29 +0000)]
Merge "simpleperf: fix two errors."
am: 9baf7c33bb

Change-Id: Iaaef78effbbbacbdb6f7d764f998f1681289b0da

7 years agoMerge "simpleperf: fix two errors."
Yabin Cui [Wed, 31 Aug 2016 01:23:33 +0000 (01:23 +0000)]
Merge "simpleperf: fix two errors."

7 years agoMerge "Replace libziparchive-host with libziparchive" am: b5a1a4a772 am: e882b6c845...
Colin Cross [Wed, 31 Aug 2016 01:02:22 +0000 (01:02 +0000)]
Merge "Replace libziparchive-host with libziparchive" am: b5a1a4a772 am: e882b6c845 am: aceb1decfd
am: fe81873c15

Change-Id: I89af1b145ff6ede6b09b39c892e8203f7ed4432a

7 years agosimpleperf: add python report interface on linux.
Yabin Cui [Fri, 26 Aug 2016 18:35:28 +0000 (11:35 -0700)]
simpleperf: add python report interface on linux.

1. Build libsimpleperf_report.so on host, which exports functions
   to access samples.
2. Add simpleperf_report_lib.py to wrap libsimpleperf_report.so.
3. Write report_sample.py to test simpleperf_report_lib.py. The
   output format of report_sample.py matches the need of building
   FlameGraph.

Bug: http://b/31069528
Test: run report_sample.py on perf.data.
Test: run simpleperf_unit_test.

Change-Id: I4949f8ea506f12101a9c4fb4c896957c96676853

7 years agoMerge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40
Daniel Rosenberg [Tue, 30 Aug 2016 20:54:13 +0000 (20:54 +0000)]
Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40
am: e5aa18acf1

Change-Id: I45c4fdfd13a549e98fd934346f4b51bad69679b2

7 years agoMerge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d
Daniel Rosenberg [Tue, 30 Aug 2016 20:47:09 +0000 (20:47 +0000)]
Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d
am: 9478bf8b40

Change-Id: Ie202777a9dc60997424628ec38a019d5fbe03eef

7 years agoMerge "Test: Basic bootloader tests via fastboot"
Daniel Rosenberg [Tue, 30 Aug 2016 20:41:41 +0000 (20:41 +0000)]
Merge "Test: Basic bootloader tests via fastboot"
am: cbbc907a4d

Change-Id: I644f3d99f55fe84da2d517c3e5e6bae439a35a12

7 years agoMerge "Test: Basic bootloader tests via fastboot"
Daniel Rosenberg [Tue, 30 Aug 2016 20:35:22 +0000 (20:35 +0000)]
Merge "Test: Basic bootloader tests via fastboot"

7 years agosimpleperf: fix two errors.
Yabin Cui [Tue, 30 Aug 2016 20:13:17 +0000 (13:13 -0700)]
simpleperf: fix two errors.

Fix two errors when reporting perf.data generated by linux perf.
And add corresponding tests.

Test: run simpleperf_unit_test.
Change-Id: I04dd88461fdd6a85763847570bac16db1ccb81fa

7 years agoMerge commit 'cb8b5af' into nyc-dev-plus-aosp
Mitchell Wills [Tue, 30 Aug 2016 01:13:22 +0000 (01:13 +0000)]
Merge commit 'cb8b5af' into nyc-dev-plus-aosp
am: 3587c22e55

Change-Id: Ife0d09d14b4244bfc0c42d79653032b84a1e5c52

7 years agoMerge commit 'cb8b5af' into nyc-dev-plus-aosp
The Android Automerger [Tue, 30 Aug 2016 01:03:24 +0000 (01:03 +0000)]
Merge commit 'cb8b5af' into nyc-dev-plus-aosp

7 years agoMerge "Remove ancient wifi stress test" into stage-aosp-master
Mitchell Wills [Mon, 29 Aug 2016 20:02:48 +0000 (20:02 +0000)]
Merge "Remove ancient wifi stress test" into stage-aosp-master

7 years agoMerge "simpleperf: support hotplug events in record cmd." am: 728c8de11d am: 77a7b76fea
Yabin Cui [Sat, 27 Aug 2016 19:10:31 +0000 (19:10 +0000)]
Merge "simpleperf: support hotplug events in record cmd." am: 728c8de11d am: 77a7b76fea
am: 071e0d9db2

Change-Id: I19713281848ccf0eb82efb19a0f84b0f10739684

7 years agoMerge "simpleperf: support hotplug events in record cmd." am: 728c8de11d
Yabin Cui [Sat, 27 Aug 2016 19:07:00 +0000 (19:07 +0000)]
Merge "simpleperf: support hotplug events in record cmd." am: 728c8de11d
am: 77a7b76fea

Change-Id: I7f2fea5498c5d9d0aaec1e8da6e0b7c16f86c462

7 years agoMerge "simpleperf: support hotplug events in record cmd."
Yabin Cui [Sat, 27 Aug 2016 19:04:05 +0000 (19:04 +0000)]
Merge "simpleperf: support hotplug events in record cmd."
am: 728c8de11d

Change-Id: Id5719e1c027d0c9fb09b789d5aab48167fb1bf3a

7 years agoMerge "simpleperf: support hotplug events in record cmd."
Treehugger Robot [Sat, 27 Aug 2016 18:59:00 +0000 (18:59 +0000)]
Merge "simpleperf: support hotplug events in record cmd."

7 years agosimpleperf: support hotplug events in record cmd.
Yabin Cui [Sat, 27 Aug 2016 01:25:21 +0000 (18:25 -0700)]
simpleperf: support hotplug events in record cmd.

1. When a cpu is down, read records from event files on that cpu,
then close those event files.
2. When a cpu is up, open event files on that cpu, and create
mapped buffer for those event files to dump records.
3. Instead of creating a mapped buffer for each event type on each
cpu, we can just create a mapped buffer for all event types on
each cpu.
4. When new event files are created, store a EventIdRecord record in
perf.data to notify record_file_reader.cpp.

Bug: http://b/29245608
Test: run simpleperf record cmd and make cpu offline and online.
Test: run simpleperf_unit_test.

Change-Id: Ib97a24b6292fa143e9b35cb105bdddf1e826d60a

7 years agoMerge "Replace libziparchive-host with libziparchive" am: b5a1a4a772 am: e882b6c845
Colin Cross [Fri, 26 Aug 2016 20:40:37 +0000 (20:40 +0000)]
Merge "Replace libziparchive-host with libziparchive" am: b5a1a4a772 am: e882b6c845
am: aceb1decfd

Change-Id: Icfa8cbc09325c481227c318c9ae027b03c1efcef

7 years agoMerge "Replace libziparchive-host with libziparchive" am: b5a1a4a772
Colin Cross [Fri, 26 Aug 2016 20:32:31 +0000 (20:32 +0000)]
Merge "Replace libziparchive-host with libziparchive" am: b5a1a4a772
am: e882b6c845

Change-Id: Id3c0ffe5359c8963ed8385f225920755b17a5574

7 years agoRemove ancient wifi stress test
Christopher Wiley [Wed, 15 Jun 2016 20:37:58 +0000 (13:37 -0700)]
Remove ancient wifi stress test

Bug: 29321445
Change-Id: Ib6797def04d69f20ea4e856d4005c57b5ec6ac42
(cherry picked from commit 3defd8f2199234c5a7a6092fba320f143caf3622)

7 years agoMerge "Replace libziparchive-host with libziparchive"
Colin Cross [Fri, 26 Aug 2016 20:25:37 +0000 (20:25 +0000)]
Merge "Replace libziparchive-host with libziparchive"
am: b5a1a4a772

Change-Id: Ic4b372e601b2e66aef25c3c2b536fce86547657c

7 years agoMerge "Replace libziparchive-host with libziparchive"
Colin Cross [Fri, 26 Aug 2016 20:18:54 +0000 (20:18 +0000)]
Merge "Replace libziparchive-host with libziparchive"

7 years agoMerge "simpleperf: support hotplug events in stat cmd." am: c3ead4eb80 am: 4da74b3dfb...
Yabin Cui [Fri, 26 Aug 2016 19:28:30 +0000 (19:28 +0000)]
Merge "simpleperf: support hotplug events in stat cmd." am: c3ead4eb80 am: 4da74b3dfb am: 0b948b0cba
am: 0343e10e9a

Change-Id: Ie07b65d6c0fd6a1cc12604003342d31b46b34494

7 years agoReplace libziparchive-host with libziparchive
Colin Cross [Fri, 26 Aug 2016 18:16:28 +0000 (11:16 -0700)]
Replace libziparchive-host with libziparchive

libziparchive-host is no longer necessary, and mixing libziparchive-host
and libziparchive can cause ODR violations.

Change-Id: I018d3726e6ab099a86a3ea662ab6d52509218510

7 years agoMerge "simpleperf: support hotplug events in stat cmd." am: c3ead4eb80 am: 4da74b3dfb
Yabin Cui [Fri, 26 Aug 2016 17:21:39 +0000 (17:21 +0000)]
Merge "simpleperf: support hotplug events in stat cmd." am: c3ead4eb80 am: 4da74b3dfb
am: 0b948b0cba

Change-Id: Id19ed463c808c905b84ba48bb8205eae928fc57b

7 years agoMerge "simpleperf: support hotplug events in stat cmd." am: c3ead4eb80
Yabin Cui [Fri, 26 Aug 2016 17:19:38 +0000 (17:19 +0000)]
Merge "simpleperf: support hotplug events in stat cmd." am: c3ead4eb80
am: 4da74b3dfb

Change-Id: Idb8ed215d038b8f0b0e2f17e727bbc5dbab6d48d

7 years agoMerge "simpleperf: support hotplug events in stat cmd."
Yabin Cui [Fri, 26 Aug 2016 17:16:10 +0000 (17:16 +0000)]
Merge "simpleperf: support hotplug events in stat cmd."
am: c3ead4eb80

Change-Id: Ibb93a0572bdd79c75e4e40a35f8699f1f69498ca

7 years agoMerge "simpleperf: support hotplug events in stat cmd."
Treehugger Robot [Fri, 26 Aug 2016 17:07:21 +0000 (17:07 +0000)]
Merge "simpleperf: support hotplug events in stat cmd."

7 years agosimpleperf: support hotplug events in stat cmd.
Yabin Cui [Thu, 25 Aug 2016 02:32:55 +0000 (19:32 -0700)]
simpleperf: support hotplug events in stat cmd.

1. When a cpu is down, read counters from event files on that cpu,
then close those events files.
2. When a cpu is up, open event files on that cpu.
3. Remove check of time_running != 0 in cmd_stat.cpp, because
  1) We no longer need the check as we no longer open event file
     for each cpu for non system wide profiling.
  2) The kernel has a bug that can make time_running == 0 if
     a cpu is down while profiling. But the counter value is
     still valid, and shouldn't be ignored.

Bug: http://b/29245608
Test: run simpleperf and make cpu offline and online.

Change-Id: I3e7bec139c5f50bea1311c95bb154a5b290a72ea

7 years agoMerge "simpleperf: print file path used for reading symbols." am: 4a35dafc21 am:...
Yabin Cui [Thu, 25 Aug 2016 19:41:39 +0000 (19:41 +0000)]
Merge "simpleperf: print file path used for reading symbols." am: 4a35dafc21 am: 220ae01bc4 am: 5259c1452f
am: 8cfee74e2c

Change-Id: I2fa81f260b10206b9dd6c3fa5b2362695c5bf9c4

7 years agoMerge "simpleperf: print file path used for reading symbols." am: 4a35dafc21 am:...
Yabin Cui [Thu, 25 Aug 2016 19:16:59 +0000 (19:16 +0000)]
Merge "simpleperf: print file path used for reading symbols." am: 4a35dafc21 am: 220ae01bc4
am: 5259c1452f

Change-Id: Ib8f2a82a2506c85707ce69955ca44c2007b21e65

7 years agoMerge "simpleperf: print file path used for reading symbols." am: 4a35dafc21
Yabin Cui [Thu, 25 Aug 2016 19:13:58 +0000 (19:13 +0000)]
Merge "simpleperf: print file path used for reading symbols." am: 4a35dafc21
am: 220ae01bc4

Change-Id: I920c7c4363d121fe1cfca4b263a409bc3a339236

7 years agoMerge "simpleperf: print file path used for reading symbols."
Yabin Cui [Thu, 25 Aug 2016 19:10:30 +0000 (19:10 +0000)]
Merge "simpleperf: print file path used for reading symbols."
am: 4a35dafc21

Change-Id: I5a2751fbb762f98f9ef1050372a2c5e506e2c76d

7 years agoMerge "simpleperf: print file path used for reading symbols."
Treehugger Robot [Thu, 25 Aug 2016 19:00:47 +0000 (19:00 +0000)]
Merge "simpleperf: print file path used for reading symbols."

7 years agosimpleperf: print file path used for reading symbols.
Yabin Cui [Thu, 25 Aug 2016 17:46:40 +0000 (10:46 -0700)]
simpleperf: print file path used for reading symbols.

It helps users to find out which files are used for
reporting.

Bug: http://b/29574526
Change-Id: I3d608e61c50471632c50bf6e8f6f9e45c63fc4b4
Test: run `simpleperf report --log verbose` manually.

7 years agoMerge "Don't include multinetwork tools in Brillo." am: db7a1c571a am: 7dc5b65930...
Alex Deymo [Thu, 25 Aug 2016 02:06:46 +0000 (02:06 +0000)]
Merge "Don't include multinetwork tools in Brillo." am: db7a1c571a am: 7dc5b65930 am: fada028a42
am: a10c77899b

Change-Id: Icbb36ee06dccf9c5bda5bb54350f30dba6326fcc

7 years agoMerge "Don't include multinetwork tools in Brillo." am: db7a1c571a am: 7dc5b65930
Alex Deymo [Thu, 25 Aug 2016 01:49:11 +0000 (01:49 +0000)]
Merge "Don't include multinetwork tools in Brillo." am: db7a1c571a am: 7dc5b65930
am: fada028a42

Change-Id: I4f48c5aeb94fb4c3e30a2408eb2d039d65bc5070

7 years agoMerge "Don't include multinetwork tools in Brillo." am: db7a1c571a
Alex Deymo [Thu, 25 Aug 2016 01:36:23 +0000 (01:36 +0000)]
Merge "Don't include multinetwork tools in Brillo." am: db7a1c571a
am: 7dc5b65930

Change-Id: Ic20c4d1d69db20567389f3a5cc15db5b43130d34

7 years agoMerge "Don't include multinetwork tools in Brillo."
Alex Deymo [Thu, 25 Aug 2016 01:33:24 +0000 (01:33 +0000)]
Merge "Don't include multinetwork tools in Brillo."
am: db7a1c571a

Change-Id: I27b4a11bcdf4c578f908ffa4ca7c5a9d2599b547

7 years agoMerge "Don't include multinetwork tools in Brillo."
Alex Deymo [Thu, 25 Aug 2016 01:28:42 +0000 (01:28 +0000)]
Merge "Don't include multinetwork tools in Brillo."

7 years agoMerge "report MPKI instead of hit-rate"
Mathias Agopian [Thu, 25 Aug 2016 01:20:18 +0000 (01:20 +0000)]
Merge "report MPKI instead of hit-rate"

7 years agoMerge "simpleperf: improve cpu_hotplug_test." am: a903cc9b9c am: 9e71d361ea am: 97669...
Yabin Cui [Thu, 25 Aug 2016 00:15:15 +0000 (00:15 +0000)]
Merge "simpleperf: improve cpu_hotplug_test." am: a903cc9b9c am: 9e71d361ea am: 97669706ea
am: 9fdbe331d2

Change-Id: I75eed09e3de8c1fd090a8bb4cb9fa861f51dd455

7 years agoMerge "simpleperf: improve cpu_hotplug_test." am: a903cc9b9c am: 9e71d361ea
Yabin Cui [Wed, 24 Aug 2016 23:52:32 +0000 (23:52 +0000)]
Merge "simpleperf: improve cpu_hotplug_test." am: a903cc9b9c am: 9e71d361ea
am: 97669706ea

Change-Id: If77f4d9aefbbc3b222711de2653c4eb761ac83e3

7 years agoMerge "simpleperf: improve cpu_hotplug_test." am: a903cc9b9c
Yabin Cui [Wed, 24 Aug 2016 23:49:30 +0000 (23:49 +0000)]
Merge "simpleperf: improve cpu_hotplug_test." am: a903cc9b9c
am: 9e71d361ea

Change-Id: I1e78cf2aaa09819c969ca1be73269d4703b94769

7 years agoMerge "simpleperf: improve cpu_hotplug_test."
Yabin Cui [Wed, 24 Aug 2016 23:46:35 +0000 (23:46 +0000)]
Merge "simpleperf: improve cpu_hotplug_test."
am: a903cc9b9c

Change-Id: I53f788aa6100b0eb6917920334efa624af14e77f

7 years agoDon't include multinetwork tools in Brillo.
Alex Deymo [Wed, 24 Aug 2016 23:42:11 +0000 (16:42 -0700)]
Don't include multinetwork tools in Brillo.

These tools depend on libandroid, which is not present in Brillo.

Bug: 31068444
Change-Id: I0565775ab3effa910149f28bef790b6fed4e6485
Test: `make dist`

7 years agoMerge "simpleperf: improve cpu_hotplug_test."
Treehugger Robot [Wed, 24 Aug 2016 23:36:28 +0000 (23:36 +0000)]
Merge "simpleperf: improve cpu_hotplug_test."

7 years agosimpleperf: improve cpu_hotplug_test.
Yabin Cui [Thu, 18 Aug 2016 00:34:26 +0000 (17:34 -0700)]
simpleperf: improve cpu_hotplug_test.

1. Add offline_while_user_process_profiling test for
http://b/28086229.
2. Add options to adjust test duration and cpu hotplug
interval.
3. Report test time periodically for tests running for
a long time.

Bug: http://b/25193162
Bug: http://b/28086229
Bug: http://b/30839193

Change-Id: If02a45aed2dab718ca381b24da2898f22fed1a8d

7 years agoreport MPKI instead of hit-rate
Mathias Agopian [Wed, 24 Aug 2016 21:42:30 +0000 (14:42 -0700)]
report MPKI instead of hit-rate

MPKI (or misses per 1000 instructions) is better
for comparing CPUs, as hit-rate somewhat
meaningless (different CPUs make different
amount of requests to the same cache-line).

Also changed the â€”affinity option to take the
CPU number instead of a big|little string

Change-Id: I57fce77e18d382fe8d4f0efd9cc586d50beb9432

7 years agoMerge changes from topic 'am-cca20719ce864a0298fe5d9833985170' into nyc-mr1-dev-plus...
Damien Bargiacchi [Wed, 24 Aug 2016 21:06:51 +0000 (21:06 +0000)]
Merge changes from topic 'am-cca20719ce864a0298fe5d9833985170' into nyc-mr1-dev-plus-aosp
am: 09f832c851

Change-Id: Iee5f602da5588b4d24b1d260fbedbb0b2521b609

7 years agoMerge "Remove unused function declarations" into cw-f-dev am: 6199f023a7
Damien Bargiacchi [Wed, 24 Aug 2016 21:06:50 +0000 (21:06 +0000)]
Merge "Remove unused function declarations" into cw-f-dev am: 6199f023a7
am: 22c1f9bd94

Change-Id: I4343f14d5cfb748d559fb5dfae65bc15be6db442

7 years agoRemove unused function declarations am: 47c3ecb53a
Damien Bargiacchi [Wed, 24 Aug 2016 21:06:48 +0000 (21:06 +0000)]
Remove unused function declarations am: 47c3ecb53a
am: 94b048eb69

Change-Id: Iaa1111990921ce225a6c8085debad04deeced2e2

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 4d269c7593 am...
Bill Yi [Wed, 24 Aug 2016 21:06:47 +0000 (21:06 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 4d269c7593 am: 1c98bd15ca am: 590203cf6b
am: c0008f08e2

Change-Id: If3a3700f85549bcfcb4f52b75003a3c0916ed2f6

7 years agoMerge "simpleperf: notify user for unsupported modifiers." am: 43908a31c1 am: 61cb08b...
Yabin Cui [Wed, 24 Aug 2016 21:06:46 +0000 (21:06 +0000)]
Merge "simpleperf: notify user for unsupported modifiers." am: 43908a31c1 am: 61cb08b492 am: dacf5b4a3c
am: 93a37a2c1b

Change-Id: Ie44ebea1fd8e2d512b3fbd048f02c38a762bfd5d

7 years agoMerge changes from topic 'am-cca20719ce864a0298fe5d9833985170' into nyc-mr1-dev-plus...
Android Build Merger (Role) [Wed, 24 Aug 2016 20:47:17 +0000 (20:47 +0000)]
Merge changes from topic 'am-cca20719ce864a0298fe5d9833985170' into nyc-mr1-dev-plus-aosp

* changes:
  Merge "Remove unused function declarations" into cw-f-dev am: 6199f023a7
  Remove unused function declarations am: 47c3ecb53a

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 4d269c7593 am...
Bill Yi [Wed, 24 Aug 2016 20:45:26 +0000 (20:45 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 4d269c7593 am: 1c98bd15ca
am: 590203cf6b

Change-Id: I8a6ba87570a118c5d781f88e4da3aa9f7ddddb74

7 years agoMerge "simpleperf: notify user for unsupported modifiers." am: 43908a31c1 am: 61cb08b492
Yabin Cui [Wed, 24 Aug 2016 20:45:25 +0000 (20:45 +0000)]
Merge "simpleperf: notify user for unsupported modifiers." am: 43908a31c1 am: 61cb08b492
am: dacf5b4a3c

Change-Id: Ia68bf60c55294a00f525558c8ab3e553a1e5c28e

7 years agoMerge "Remove unused function declarations" into cw-f-dev
Damien Bargiacchi [Wed, 24 Aug 2016 20:45:20 +0000 (20:45 +0000)]
Merge "Remove unused function declarations" into cw-f-dev
am: 6199f023a7

Change-Id: I428b58de9f99935cee84250fc1d241c107acd5dc

7 years agoRemove unused function declarations
Damien Bargiacchi [Wed, 24 Aug 2016 20:45:19 +0000 (20:45 +0000)]
Remove unused function declarations
am: 47c3ecb53a

Change-Id: I2bdf92d7c129c2278c50abfc927828dabd1a7336

7 years agoMerge "Remove unused function declarations" into cw-f-dev
Damien Bargiacchi [Wed, 24 Aug 2016 20:36:35 +0000 (20:36 +0000)]
Merge "Remove unused function declarations" into cw-f-dev

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 4d269c7593
Bill Yi [Wed, 24 Aug 2016 20:26:32 +0000 (20:26 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 4d269c7593
am: 1c98bd15ca

Change-Id: I04d7d35ff2d02cc9244c8fc5f1bb4e297064c97f

7 years agoMerge "simpleperf: notify user for unsupported modifiers." am: 43908a31c1
Yabin Cui [Wed, 24 Aug 2016 20:26:32 +0000 (20:26 +0000)]
Merge "simpleperf: notify user for unsupported modifiers." am: 43908a31c1
am: 61cb08b492

Change-Id: Ic8880b14a59346fd69a84efb456923c2a941e4f7

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Wed, 24 Aug 2016 20:16:27 +0000 (20:16 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 4d269c7593

Change-Id: I7a58fdbab63c1c4cd11973d49278571db0c50fde

7 years agoMerge "simpleperf: notify user for unsupported modifiers."
Yabin Cui [Wed, 24 Aug 2016 20:16:24 +0000 (20:16 +0000)]
Merge "simpleperf: notify user for unsupported modifiers."
am: 43908a31c1

Change-Id: I4f53fa84ea663a4090a99f2261f153faf8f0b8fb

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Wed, 24 Aug 2016 19:08:29 +0000 (12:08 -0700)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

7 years agoMerge "simpleperf: notify user for unsupported modifiers."
Yabin Cui [Wed, 24 Aug 2016 18:54:10 +0000 (18:54 +0000)]
Merge "simpleperf: notify user for unsupported modifiers."

7 years agoMerge "simpleperf: monitor cpu hotplug in stat cmd." am: ef99a90b46 am: d4d0a196fc...
Yabin Cui [Wed, 24 Aug 2016 17:22:24 +0000 (17:22 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd." am: ef99a90b46 am: d4d0a196fc am: fc658b7737
am: 9c7afed924

Change-Id: I0390cb0560edaef3f89a33dafe34ed615bb99cde

7 years agoMerge "simpleperf: monitor cpu hotplug in stat cmd." am: ef99a90b46 am: d4d0a196fc
Yabin Cui [Wed, 24 Aug 2016 17:01:12 +0000 (17:01 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd." am: ef99a90b46 am: d4d0a196fc
am: fc658b7737

Change-Id: Ic3dc7dabf578312b4aaed271a3b25fe9db80b638

7 years agoMerge "simpleperf: monitor cpu hotplug in stat cmd." am: ef99a90b46
Yabin Cui [Wed, 24 Aug 2016 16:58:41 +0000 (16:58 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd." am: ef99a90b46
am: d4d0a196fc

Change-Id: Iddddf45bd26e2545c3cc3a77d3123d52cb44ffd2

7 years agoMerge "simpleperf: monitor cpu hotplug in stat cmd."
Yabin Cui [Wed, 24 Aug 2016 16:55:23 +0000 (16:55 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd."
am: ef99a90b46

Change-Id: I7c89d8155b9ade3c288d92d496ec9fc84be648b6

7 years agosimpleperf: notify user for unsupported modifiers.
Yabin Cui [Fri, 19 Aug 2016 22:42:39 +0000 (15:42 -0700)]
simpleperf: notify user for unsupported modifiers.

If there is no need to record samples, u/k modifiers
used in event cpu-clock and task-clock are ignored
by the kernel.

Bug: http://b/29574526
Change-Id: Id45568448888965a3bfa382c4420e395a741f77a
Test: simpleperf_unit_test.

7 years agoMerge "simpleperf: monitor cpu hotplug in stat cmd."
Treehugger Robot [Wed, 24 Aug 2016 16:38:03 +0000 (16:38 +0000)]
Merge "simpleperf: monitor cpu hotplug in stat cmd."

7 years agoMerge "Rewrite i-cache test"
Mathias Agopian [Wed, 24 Aug 2016 04:00:54 +0000 (04:00 +0000)]
Merge "Rewrite i-cache test"

7 years agoMerge "Don't invent our own pagemap constants." am: 5079d0aabc am: cb060d9bfb am...
Elliott Hughes [Wed, 24 Aug 2016 03:31:21 +0000 (03:31 +0000)]
Merge "Don't invent our own pagemap constants." am: 5079d0aabc am: cb060d9bfb am: 4bfe8527cd
am: 8fdb71539b

Change-Id: I94992d65e0d8ba530ae1b11a9e6fd8b3a54680d4

7 years agoMerge "Don't invent our own pagemap constants." am: 5079d0aabc am: cb060d9bfb
Elliott Hughes [Wed, 24 Aug 2016 03:19:48 +0000 (03:19 +0000)]
Merge "Don't invent our own pagemap constants." am: 5079d0aabc am: cb060d9bfb
am: 4bfe8527cd

Change-Id: Id55bf0c3805c5fc0eb853b9f60616f42bab71c27

7 years agoMerge "Don't invent our own pagemap constants." am: 5079d0aabc
Elliott Hughes [Wed, 24 Aug 2016 03:17:18 +0000 (03:17 +0000)]
Merge "Don't invent our own pagemap constants." am: 5079d0aabc
am: cb060d9bfb

Change-Id: I60b1aa9a76eb08eaeb9c546c8b2fec93bbaa5840

7 years agoMerge "Don't invent our own pagemap constants."
Elliott Hughes [Wed, 24 Aug 2016 03:13:54 +0000 (03:13 +0000)]
Merge "Don't invent our own pagemap constants."
am: 5079d0aabc

Change-Id: Ica4813dcf76197b8866307c7c0ba5fc4a56fd6e3

7 years agoMerge "Don't invent our own pagemap constants."
Treehugger Robot [Wed, 24 Aug 2016 03:05:17 +0000 (03:05 +0000)]
Merge "Don't invent our own pagemap constants."

7 years agoDon't invent our own pagemap constants.
Elliott Hughes [Wed, 24 Aug 2016 00:47:49 +0000 (17:47 -0700)]
Don't invent our own pagemap constants.

Use the uapi ones instead, so I don't have to think about whether ours
are correct.

Bug: http://b/31044648
Change-Id: Ibe4a078ad3223419301a5f585e8ed24dd7366ce2

7 years agoMerge "simpleperf: omit samples get while dumping thread map information." am: 84ea73...
Yabin Cui [Tue, 23 Aug 2016 23:18:20 +0000 (23:18 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information." am: 84ea73e65c am: f600c50b67 am: 27cb69ae6e
am: 6b803dac28

Change-Id: Ia4090f54be77cbaf616f8462c131319978d5cb7e

7 years agoMerge "simpleperf: omit samples get while dumping thread map information." am: 84ea73...
Yabin Cui [Tue, 23 Aug 2016 22:32:12 +0000 (22:32 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information." am: 84ea73e65c am: f600c50b67
am: 27cb69ae6e

Change-Id: I77320c7d18aa12bccceb3e60d3ef2f4d1b094717

7 years agoMerge "simpleperf: omit samples get while dumping thread map information." am: 84ea73e65c
Yabin Cui [Tue, 23 Aug 2016 22:29:13 +0000 (22:29 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information." am: 84ea73e65c
am: f600c50b67

Change-Id: Ic333f4f9912c3329a1e7bf5ffef59e069b73e1d4

7 years agoMerge "simpleperf: omit samples get while dumping thread map information."
Yabin Cui [Tue, 23 Aug 2016 22:26:57 +0000 (22:26 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information."
am: 84ea73e65c

Change-Id: I7f7aa533eb8f4d0d224981f2b2865ee45e0d718f

7 years agoMerge "simpleperf: omit samples get while dumping thread map information."
Treehugger Robot [Tue, 23 Aug 2016 22:17:15 +0000 (22:17 +0000)]
Merge "simpleperf: omit samples get while dumping thread map information."

7 years agosimpleperf: omit samples get while dumping thread map information.
Yabin Cui [Tue, 23 Aug 2016 20:18:47 +0000 (13:18 -0700)]
simpleperf: omit samples get while dumping thread map information.

Bug: http://b/31039737
Change-Id: Ia65c61b874a2f60d7022be3ef0774f5fc6b09d7c
Test: test manually as described in the bug.

7 years agoRewrite i-cache test
Mathias Agopian [Wed, 17 Aug 2016 02:42:42 +0000 (19:42 -0700)]
Rewrite i-cache test

+ cleanup
+ use performance counters in addition to time
+ update test to handle more modern CPU with more i-cache

Change-Id: I6f96c4f8c3b67344694a4b33a25c078e116328ca

7 years agoMerge "simpleperf: avoid selinux denials." am: 23a73bf538 am: fdf68bdcf9 am: dfb698649f
Yabin Cui [Mon, 22 Aug 2016 23:19:17 +0000 (23:19 +0000)]
Merge "simpleperf: avoid selinux denials." am: 23a73bf538 am: fdf68bdcf9 am: dfb698649f
am: 55beade171

Change-Id: I8176202544a121be145eab92080d36a96e3ac9c2

7 years agoMerge "simpleperf: avoid selinux denials." am: 23a73bf538 am: fdf68bdcf9
Yabin Cui [Mon, 22 Aug 2016 23:14:39 +0000 (23:14 +0000)]
Merge "simpleperf: avoid selinux denials." am: 23a73bf538 am: fdf68bdcf9
am: dfb698649f

Change-Id: Ib36c4dde4a75785b41db9e046c9391d353674bec

7 years agoMerge "simpleperf: avoid selinux denials." am: 23a73bf538
Yabin Cui [Mon, 22 Aug 2016 23:10:38 +0000 (23:10 +0000)]
Merge "simpleperf: avoid selinux denials." am: 23a73bf538
am: fdf68bdcf9

Change-Id: Ifc23416aee051bfc40077dfb6b2258644e3aa9e2