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

Commit e4005ba9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "atrace: Remove funcgraphFlatPath option" am: 63674d59 am: 423956f2

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

Change-Id: I9b11d89e59bcc4961c3d06b7750dd71e13e207dc
parents c708616d 423956f2
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -320,9 +320,6 @@ static const char* k_funcgraphCpuPath =
static const char* k_funcgraphProcPath =
static const char* k_funcgraphProcPath =
    "options/funcgraph-proc";
    "options/funcgraph-proc";


static const char* k_funcgraphFlatPath =
    "options/funcgraph-flat";

static const char* k_ftraceFilterPath =
static const char* k_ftraceFilterPath =
    "set_ftrace_filter";
    "set_ftrace_filter";


@@ -700,7 +697,6 @@ static bool setKernelTraceFuncs(const char* funcs)
        ok &= setKernelOptionEnable(k_funcgraphAbsTimePath, true);
        ok &= setKernelOptionEnable(k_funcgraphAbsTimePath, true);
        ok &= setKernelOptionEnable(k_funcgraphCpuPath, true);
        ok &= setKernelOptionEnable(k_funcgraphCpuPath, true);
        ok &= setKernelOptionEnable(k_funcgraphProcPath, true);
        ok &= setKernelOptionEnable(k_funcgraphProcPath, true);
        ok &= setKernelOptionEnable(k_funcgraphFlatPath, true);


        // Set the requested filter functions.
        // Set the requested filter functions.
        ok &= truncateFile(k_ftraceFilterPath);
        ok &= truncateFile(k_ftraceFilterPath);