Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sailfishos][gecko] Backport patches from esr68 to enable profiler fo…
…r aarch64. JB#52012 Mozilla Bug 1518557 - Enable MOZ_GECKO_PROFILER on Android x86_64. SHA1: 5e1f5ea Mozilla Bug 1450185 - Implement DWARF stack walker for aarch64. SHA1 7f841de
- Loading branch information
Showing
3 changed files
with
561 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
rpm/0049-sailfishos-backport-Enable-MOZ_GECKO_PROFILER-on-And.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
From 5e1f5eaca79b76e5e668f6a77fe389922967a241 Mon Sep 17 00:00:00 2001 | ||
From: Nick Alexander <nalexander@mozilla.com> | ||
Date: Tue, 8 Jan 2019 21:43:48 +0000 | ||
Subject: [PATCH] Bug 1518557 - Enable MOZ_GECKO_PROFILER on Android x86_64. | ||
r=mstange | ||
|
||
Differential Revision: https://phabricator.services.mozilla.com/D15962 | ||
|
||
--HG-- | ||
extra : moz-landing-system : lando | ||
--- | ||
toolkit/moz.configure | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/toolkit/moz.configure b/toolkit/moz.configure | ||
index 5b84c5464bf5..6219cb710a28 100644 | ||
--- a/toolkit/moz.configure | ||
+++ b/toolkit/moz.configure | ||
@@ -25,9 +25,9 @@ imply_option('--enable-profiling', jprof) | ||
@depends(target) | ||
def gecko_profiler(target): | ||
if target.os == 'Android': | ||
- return target.cpu in ('aarch64', 'arm', 'x86') | ||
+ return target.cpu in ('aarch64', 'arm', 'x86', 'x86_64') | ||
elif target.kernel == 'Linux': | ||
- return target.cpu in ('x86', 'x86_64', 'mips64', 'arm') | ||
+ return target.cpu in ('aarch64', 'arm', 'x86', 'x86_64', 'mips64') | ||
return target.os in ('OSX', 'WINNT') | ||
|
||
@depends(gecko_profiler) | ||
-- | ||
2.25.1 | ||
|
Oops, something went wrong.