git: Fix userland profiling on x86_64 by taking FreeBSD's mcount().

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jul 16 15:15:32 PDT 2011


commit 341355d2b93a47aa5fc31e165b4c21e4b2e6f8ec
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jul 17 00:14:08 2011 +0200

    Fix userland profiling on x86_64 by taking FreeBSD's mcount().
    
    Previously, -pg compiled programs would segfault.

Summary of changes:
 sys/cpu/x86_64/include/profile.h |   51 ++++++++++++++++++++-----------------
 1 files changed, 28 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/341355d2b93a47aa5fc31e165b4c21e4b2e6f8ec


-- 
DragonFly BSD source repository





More information about the Commits mailing list