Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 483b1d03 authored by Devin Moore's avatar Devin Moore Committed by Automerger Merge Worker
Browse files

Merge "Add a warning to the atrace binary for deprecating vendor categories"...

Merge "Add a warning to the atrace binary for deprecating vendor categories" am: e2499225 am: f9de7e57 am: 5034fd26 am: 4ac39fb7

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2121152



Change-Id: I3d29c7228431fe26926ed26cbf206dbd2c438e32
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 6cc2d067 4ac39fb7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1195,6 +1195,11 @@ int main(int argc, char **argv)
    bool traceStream = false;
    bool onlyUserspace = false;

    fprintf(stderr,
            "** Warning: atrace will end vendor support in the next Android Release. **\n"
            "** Perfetto is the suggested replacement tool. It will gain vendor      **\n"
            "** support. See https://perfetto.dev/docs/quickstart/android-tracing    **\n\n");

    if (argc == 2 && 0 == strcmp(argv[1], "--help")) {
        showHelp(argv[0]);
        exit(0);