profile: import profile.go from cmd/cover
profile: import profile.go from cmd/cover

Unfortunately we can't use golang.org/x/tools/cover/profile.go because
it hasn't been updated with the code merging two profiles (yes, I'll
file a bug at least or fix it).

This is taken from the go main tree (src/cmd/cover/profile.go) finishing
at commit:

    commit f39050c8ebf894ccedc0b99de96f7412be97af89
    Author: Keith Randall <khr@golang.org>
    Date:   Mon Jun 6 16:58:27 2016 -0700

        cmd/cover: handle multiple samples from the same location

Signed-off-by: Damien Lespiau <64bd3cb94f359c1a3ce68dae5e26b40578526277@intel.com>

dlespiau/covertool,dlespiau/covertool