aosp12/art/tools/dmtracedump/dumpdir.sh

12 lines
176 B
Bash
Raw Permalink Normal View History

2023-01-09 17:11:35 +08:00
#!/bin/bash
FILES=`ls $1/*.data | sed "s/^\\(.*\\).data$/\\1/"`
mkdir -p $2
for F in $FILES
do
G=$2/`echo $F | sed "s/.*\\///g"`.html
dmtracedump -h -p $F > $G
done