This patch adds telemetry to a set of sandbox features we believe are unused. We should measure, and confirm before removing.
<rdar://problem/71569084>
Created attachment 414538 [details] Patch
Comment on attachment 414538 [details] Patch R=me. It might be good to make sure this does not introduce MotionMark regressions before landing, since adding reports for IOKit classes sometimes introduces performance regressions.
Created attachment 414699 [details] Patch
Comment on attachment 414699 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414699&action=review R=me. > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:121 > +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 Does this rule already have telemetry? > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:140 > + (with telemetry-backtrace) Does this rule already have telemetry? > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:174 > +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 Does this rule also already have telemetry?
Comment on attachment 414699 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414699&action=review >> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:121 >> +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 > > Does this rule already have telemetry? You are right! I'll correct all of them like this.
Created attachment 415145 [details] Patch for landing
Created attachment 415146 [details] Patch for landing
Comment on attachment 415146 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=415146&action=review > Source/WebKit/ChangeLog:3 > + [macOS] Add telemetry for things we believe are unused It would be nice if this title had "sandbox" in it. "things" isn't very helpful.
Created attachment 415148 [details] Patch for landing
Comment on attachment 415146 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=415146&action=review >> Source/WebKit/ChangeLog:3 >> + [macOS] Add telemetry for things we believe are unused > > It would be nice if this title had "sandbox" in it. "things" isn't very helpful. Good point. I *think* I caught commit-queue before it landed.
Committed r270318: <https://trac.webkit.org/changeset/270318> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415148 [details].