phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 925 forks source link

fix for compiling on ppc64le, bug #69744 at https://bugs.php.net/bug.php?id=69744 #97

Open jcomeauictx opened 7 years ago

jcomeauictx commented 7 years ago

I tried using %2 instead of specifying register r0, but for some reason kept getting errors like:

/home/u0018756/xhprof/extension/xhprof.c: In function ‘hp_mode_hier_beginfn_cb’: /home/u0018756/xhprof/extension/xhprof.c:1245:3: error: unknown register name ‘ ’ in ‘asm’ asm volatile(

also added top-level Makefile for the impatient, and added a few clues to the README. there are a lot of errors compiling under PHP7.0; many functions now use different numbers of args.

jcomeauictx commented 7 years ago

maintainers: I have permission to add your public key to the OSU-provided VPS so you can test the code.