| commit | dbbfefda4e54165a7f8d1d565ea84ca8577dc413 | [log] [tgz] |
|---|---|---|
| author | Ali Zhang <alizhang@fuchsia.infra.roller.google.com> | Thu Oct 31 22:52:08 2024 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 31 15:53:43 2024 -0700 |
| tree | 7e284e33a5b9fa868b1817eb6248a17a6c386a6e | |
| parent | 4d2434a32e97097ceefd93f9d84af3477167bb9f [diff] |
[roll] Roll fuchsia [sestarnix] Add self profiling instrumentation
Add `profile_duration!(...)` instrumentation to the following SELinux
entry points.
1. SELinuxFS mounting and file-based APIs
2. SELinux policy loading
3. All LSM/security hooks, minus a few that are too trivial to
benchmark
When used with profiled variant of the Starnix boot test, these
instrumentations provide the raw data to be analyzed to better
understand the SELinux overhead incurred by the representative
CUJ of booting unmodified Android.
Original-Bug: b/366533140
Test: Manually ran the profiled variant of the starnix boot test 5x
each with and without this CL and observed negligible profiling
overhead (+44ms of total ~20s boot time, or ~0.2%).
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1145956
Original-Revision: 17fa0e8d3459ad3b62531df6afba62a06387ba7b
GitOrigin-RevId: 825d570f06d5c7687b3860b04380c2b08abfd0f3
Change-Id: Iad289fa1d39fcc5aeb522139ca3d40193ff622ae
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.