summaryrefslogtreecommitdiff
path: root/tools/aapt2/cmd/Command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/cmd/Command.cpp')
-rw-r--r--tools/aapt2/cmd/Command.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/aapt2/cmd/Command.cpp b/tools/aapt2/cmd/Command.cpp
index 4424a357c1dd..919b4c98fa8f 100644
--- a/tools/aapt2/cmd/Command.cpp
+++ b/tools/aapt2/cmd/Command.cpp
@@ -25,6 +25,7 @@
#include "android-base/utf8.h"
#include "androidfw/StringPiece.h"
+#include "trace/TraceBuffer.h"
#include "util/Util.h"
using android::base::StringPrintf;
@@ -178,6 +179,7 @@ void Command::Usage(std::ostream* out) {
}
int Command::Execute(const std::vector<StringPiece>& args, std::ostream* out_error) {
+ TRACE_NAME_ARGS("Command::Execute", args);
std::vector<std::string> file_args;
for (size_t i = 0; i < args.size(); i++) {