Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Releases: facebookarchive/profilo

release-712e9c72: Bump ndk (#72)

22 Nov 14:47
Compare
Choose a tag to compare
Summary:
Bump to the latest NDK.

Pull Request resolved: https://github.com/facebookincubator/fbjni/pull/72

Test Plan: ./gradlew assembleDebug

Reviewed By: lblasa

Differential Revision: D32593098

Pulled By: passy

fbshipit-source-id: e5a35070e7b85e4926157d6bf07496cadd01606c

release-58371a2c: Revert D32593957: v0.3.1-SNAPSHOT

22 Nov 16:58
Compare
Choose a tag to compare
Differential Revision:
D32593957 (https://github.com/facebookincubator/profilo/commit/dcda54a15e4a1322857bf554322c77142ab6e9e1)

Original commit changeset: 9b710be3fa20

fbshipit-source-id: bcb66bfe4ac0867df5a798448acf7dd279d88daa

release-49b5efdc: Upgrade deps (#70)

22 Nov 12:45
Compare
Choose a tag to compare
Summary:
We want to upgrade the NDK, but first we need to fix a bunch of other stuff to make that work.

- Upgrade the Gradle plugin. That should just work.
- Upgrade the release plugin. We need to change `LICENSE` to `LICENCE` for that. Sigh.
- Fix GoogleTest which now also lives on a `main` branch.
- Remove JCenter dependencies.

Pull Request resolved: https://github.com/facebookincubator/fbjni/pull/70

Test Plan:
- ./gradlew assembleDebug
- ./scripts/scripts/run-host-tests.sh
- CI

Reviewed By: lblasa

Differential Revision: D32592380

Pulled By: passy

fbshipit-source-id: ad1dcc2a16a1028b97934c800b690a50087c6454

release-38d8f7cd: Remove sdkmanager (#71)

22 Nov 13:27
Compare
Choose a tag to compare
Summary:
This isn't necessary with the GitHub base image and just one more thing we need to keep from breaking.

Pull Request resolved: https://github.com/facebookincubator/fbjni/pull/71

Test Plan: Green CI

Reviewed By: lblasa

Differential Revision: D32592577

Pulled By: passy

fbshipit-source-id: e4026af76ff35337ef53061b762e9ff2f7bb68cf

release-d3ee21fa

20 Nov 22:02
Compare
Choose a tag to compare
Create a new method to return the cached environment and whether we a…

release-7f323178: Collect wall time and cpu time samples in the same trace.

19 Nov 20:05
Compare
Choose a tag to compare
Summary: Register new providers and create entries for CPU_STACK_SAMPLE and WALL_STACK_SAMPLE.

Reviewed By: BurntBrunch

Differential Revision: D32139331

fbshipit-source-id: 9e4cb70ad99e61bd6df145c80a62a99a0b253560

release-8c7daaab: Use SignalHandler instead of forkjail

17 Nov 23:10
Compare
Choose a tag to compare
Summary:
This diff revisits an old decision to use a forked process (via forkjail)
to evaluate art compatibility.

Reviewed By: aandreyeu

Differential Revision: D32150889

fbshipit-source-id: cb71b28ccf450ba9a3bd7724948be5a6f2f440a6

release-5d824200: Change app_mode read_config to use the dictionary default

15 Nov 12:02
Compare
Choose a tag to compare
Summary: Currently, this uses the read_config default and then defines "default" in the dictionary. This means that adding a new `app_mode` value requires going over all references and fixing all of them. Let's change that to the dictionary default.

Reviewed By: cgrushko

Differential Revision: D32417177

fbshipit-source-id: ee7522ef0e29b059363736c89a4373898e6ca1cc

release-10863d99: SignalHandler can change registered handlers safely

12 Nov 02:06
Compare
Choose a tag to compare
Summary:
SignalHandler currently does not allow the registered handler for a signal to
change. I want to use SignalHandler in a different, non-overlapping with
SamplingProfiler, use case and to do that, I need to be able to safely change
the registered handler.

This diff achieves this in three steps:
1. Instead of registering the user-provided signal handler directly with libc,
we register UniversalHandler instead. This way, once we take over the signal
slot, we don't have to call libc again for that signal.

2. This diff also wraps the access to the global array of user-provided handlers in a
phaser. This way, we can wait until concurrent users of the old SignalHandler
instance are done.

3. Lastly, we propagate the "previous handler" that we got from sigaction(3)
from the old SignalHandler instance to the new one. This way, we never
chain our own SignalHandler instances together but instead they always refer to
what was there before the first SignalHandler took over.

Reviewed By: aandreyeu

Differential Revision: D32322550

fbshipit-source-id: 8ea6cc8b16e60fc1d6ffdedb2cd4a03d6b42c3cc

release-87d5f9f3: Include what you use: <memory>

10 Nov 23:32
Compare
Choose a tag to compare
Summary: Missing header.

Reviewed By: aandreyeu

Differential Revision: D32322551

fbshipit-source-id: f9557025205dcbef3142596a94d2b459c3282a6f