Add clarifying comment
Test: wasn't
Change-Id: I2615ae1bc03eb7620d898e73a002d65fd3c3f94c
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 507a893..60be26f 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -523,6 +523,9 @@
static bool setPrintTgidEnableIfPresent(bool enable)
{
+ // Pre-4.13 this was options/print-tgid as an android-specific option.
+ // In 4.13+ this is an upstream option called options/record-tgid
+ // Both options produce the same ftrace format change
if (fileExists(k_printTgidPath)) {
return setKernelOptionEnable(k_printTgidPath, enable);
}