Loading cmds/dumpstate/dumpstate.cpp +8 −5 Original line number Diff line number Diff line Loading @@ -1438,11 +1438,14 @@ static Dumpstate::RunStatus dumpstate() { RunCommand("FILESYSTEMS & FREE SPACE", {"df"}); /* Binder state is expensive to look at as it uses a lot of memory. */ DumpFile("BINDER FAILED TRANSACTION LOG", "/sys/kernel/debug/binder/failed_transaction_log"); DumpFile("BINDER TRANSACTION LOG", "/sys/kernel/debug/binder/transaction_log"); DumpFile("BINDER TRANSACTIONS", "/sys/kernel/debug/binder/transactions"); DumpFile("BINDER STATS", "/sys/kernel/debug/binder/stats"); DumpFile("BINDER STATE", "/sys/kernel/debug/binder/state"); std::string binder_logs_dir = access("/dev/binderfs/binder_logs", R_OK) ? "/sys/kernel/debug/binder" : "/dev/binderfs/binder_logs"; DumpFile("BINDER FAILED TRANSACTION LOG", binder_logs_dir + "/failed_transaction_log"); DumpFile("BINDER TRANSACTION LOG", binder_logs_dir + "/transaction_log"); DumpFile("BINDER TRANSACTIONS", binder_logs_dir + "/transactions"); DumpFile("BINDER STATS", binder_logs_dir + "/stats"); DumpFile("BINDER STATE", binder_logs_dir + "/state"); /* Add window and surface trace files. */ if (!PropertiesHelper::IsUserBuild()) { Loading Loading
cmds/dumpstate/dumpstate.cpp +8 −5 Original line number Diff line number Diff line Loading @@ -1438,11 +1438,14 @@ static Dumpstate::RunStatus dumpstate() { RunCommand("FILESYSTEMS & FREE SPACE", {"df"}); /* Binder state is expensive to look at as it uses a lot of memory. */ DumpFile("BINDER FAILED TRANSACTION LOG", "/sys/kernel/debug/binder/failed_transaction_log"); DumpFile("BINDER TRANSACTION LOG", "/sys/kernel/debug/binder/transaction_log"); DumpFile("BINDER TRANSACTIONS", "/sys/kernel/debug/binder/transactions"); DumpFile("BINDER STATS", "/sys/kernel/debug/binder/stats"); DumpFile("BINDER STATE", "/sys/kernel/debug/binder/state"); std::string binder_logs_dir = access("/dev/binderfs/binder_logs", R_OK) ? "/sys/kernel/debug/binder" : "/dev/binderfs/binder_logs"; DumpFile("BINDER FAILED TRANSACTION LOG", binder_logs_dir + "/failed_transaction_log"); DumpFile("BINDER TRANSACTION LOG", binder_logs_dir + "/transaction_log"); DumpFile("BINDER TRANSACTIONS", binder_logs_dir + "/transactions"); DumpFile("BINDER STATS", binder_logs_dir + "/stats"); DumpFile("BINDER STATE", binder_logs_dir + "/state"); /* Add window and surface trace files. */ if (!PropertiesHelper::IsUserBuild()) { Loading