diff options
author | Evelina Dumitrescu <evelinad@google.com> | 2016-10-19 18:13:34 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-02-01 18:13:44 -0800 |
commit | 63dce8585d339dffcda92ab05c79fbb4409796cc (patch) | |
tree | fa190c61d36440b14f278e1374e4571b85f87d7d | |
parent | 731ad0791050f4070b3d30fd859f6fd43892247c (diff) | |
download | toolchain-utils-63dce8585d339dffcda92ab05c79fbb4409796cc.tar.gz |
user_acivity: Changed some replacing pair strings.
Changed ('/build/gnawty', '/build/BOARD') to ('gnawty', 'BOARD') and
('/build/amd64-generic', '/build/BOARD') to ('amd64-generic', 'BOARD').
In the CWP data we have multiple paths containing the name of the board.
For example, we have /build/gnawty, but we also have
/var/cache/chromeos-chrome/chrome-src-internal/src/out_gnawty.
I made the subtitution generic.
BUG=None
TEST=None
Change-Id: Ie716a0f966b78a3c4ff85746cfa01b8b210d8b59
Reviewed-on: https://chrome-internal-review.googlesource.com/298336
Tested-by: Evelina Dumitrescu <evelinad@google.com>
Reviewed-by: George Burgess <gbiv@google.com>
Reviewed-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Evelina Dumitrescu <evelinad@google.com>
Reviewed-on: https://chromium-review.googlesource.com/435920
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
-rw-r--r-- | user_activity_benchmarks/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_activity_benchmarks/utils.py b/user_activity_benchmarks/utils.py index eea2bfc6..009b241a 100644 --- a/user_activity_benchmarks/utils.py +++ b/user_activity_benchmarks/utils.py @@ -21,8 +21,8 @@ EXTRA_FUNCTION = 'extra' PARENT_CHILD_FUNCTIONS_SEPARATOR = ';;' # List of pairs of strings used for make substitutions in file names to make # CWP and pprof data consistent. -FILE_NAME_REPLACING_PAIR_STRINGS = [('/build/gnawty', '/build/BOARD'), - ('/build/amd64-generic', '/build/BOARD'), +FILE_NAME_REPLACING_PAIR_STRINGS = [('gnawty', 'BOARD'), + ('amd64-generic', 'BOARD'), (' ../sysdeps', ',sysdeps'), (' ../nptl', ',nptl'), (' aes-x86_64.s', ',aes-x86_64.s'), |