tag:blogger.com,1999:blog-19720216.post8755800461454052023..comments2023-10-09T10:25:57.580+03:00Comments on Svilen Spasov's Corner (Dev, Diving, Audio): Facebook's XHProf PHP module patch for Mac OS X Leopard BuildSvilen Spasovhttp://www.blogger.com/profile/13024634252981285729noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-19720216.post-81843488601737421032015-01-22T12:11:52.398+02:002015-01-22T12:11:52.398+02:00Hi,
I am away on a trip but will take a look when...Hi,<br /><br />I am away on a trip but will take a look when I get back.<br /><br />Suppose Apple has introduced some changes in Yosemite regarding threads.Svilen Spasovhttps://www.blogger.com/profile/13024634252981285729noreply@blogger.comtag:blogger.com,1999:blog-19720216.post-15583899119469103592015-01-21T17:59:19.263+02:002015-01-21T17:59:19.263+02:00Hello, maybe 6 years later of this post to make a ...Hello, maybe 6 years later of this post to make a question... but...<br /><br />I after putting your patch for OSX<br /><br />thread_por_cpu.c:87:3: error: assigning to 'thread_affinity_policy_data_t' (aka 'struct thread_affinity_policy') from incompatible type 'int'<br />1 error generated.<br /><br />in line 87 I have the CPU_SET call, and other info useful I have<br /><br />#define CPU_SET(cpu_id, new_mask) \<br /> *new_mask.affinity_tag = (cpu_id + 1)<br /> <br />unsigned int tid; /* thread id */<br /><br />CPU_SET (tid, (cpu_set_t *) & cpuset);<br /><br />I tried with tid being char,short, etc... beckhttps://www.blogger.com/profile/15394216344733862200noreply@blogger.comtag:blogger.com,1999:blog-19720216.post-4746920325039336832010-12-13T23:25:14.757+02:002010-12-13T23:25:14.757+02:00Hi Benjamin,
Nice work! I am glad that my contrib...Hi Benjamin,<br /><br />Nice work! I am glad that my contribution has helped you in any way.<br />I will try your version for Windows. Actually I am in need of one for Windows platform right now.<br /><br />Update me if you have something on the topic.<br /><br />Nice work once again.Svilen Spasovhttps://www.blogger.com/profile/13024634252981285729noreply@blogger.comtag:blogger.com,1999:blog-19720216.post-37702391044633212492010-12-13T13:56:03.806+02:002010-12-13T13:56:03.806+02:00hi Svilen,
nice work! Your modifiactions were a g...hi Svilen,<br /><br />nice work! Your modifiactions were a good starting point for my modifications. I've implemented some parts to make the source compatible with - and compileable on - windows. <br /><br />If you are interested have a look at:<br />http://www.benjamin-carl.de/howtos/xhprof-php-extension-0-10-0-windows-32nt-compatible-version/Benjamin Carlhttp://www.benjamin-carl.de/noreply@blogger.com