dotnet / corefx-tools

Place to include various misc tools for .NET and .NET Core.
MIT License
58 stars 41 forks source link

perfcollect.sh - Bad search patter for perf.map files #99

Open rdcm opened 5 years ago

rdcm commented 5 years ago

This section of code copy all .map files from home directory ~/ to /tmp folder.

    local mapFiles=`find -name *.map`
    for mapFile in $mapFiles
    do
        echo "Copying $mapFile to /tmp."
        cp $mapFile /tmp
    done

For example all matched files from node_modules...

./.../do.js.map
./.../last.js.map
./.../switchMapTo.js.map
./.../takeUntil.js.map
./.../buffer.js.map