Adding main thread binder tracing in development build.

> Unifying multiple binder tracing implementations
> Removing wallpaper customization check as it has been rolled out
  few years ago, this avoids additional RPC to check for wallpaper
> Removing RaceConditionReproducer as it is not used anywhere and
  is not integrated with this tracing anymore

Bug: 273718665
Test: Presubmit
Flag: N/A
Change-Id: I801af5d039a9d38d5d39e803723ec6da50a9d59f
This commit is contained in:
Sunny Goyal
2023-05-30 13:26:02 -07:00
parent c7953f6630
commit 3db98b1152
25 changed files with 280 additions and 1197 deletions

View File

@@ -201,7 +201,7 @@ public class LoaderTask implements Runnable {
}
}
Object traceToken = TraceHelper.INSTANCE.beginSection(TAG);
TraceHelper.INSTANCE.beginSection(TAG);
LoaderMemoryLogger memoryLogger = new LoaderMemoryLogger();
try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) {
List<ShortcutInfo> allShortcuts = new ArrayList<>();
@@ -325,7 +325,7 @@ public class LoaderTask implements Runnable {
memoryLogger.printLogs();
throw e;
}
TraceHelper.INSTANCE.endSection(traceToken);
TraceHelper.INSTANCE.endSection();
}
public synchronized void stopLocked() {