--- xhprof_lib/utils/callgraph_utils.php.orig	2022-12-13 22:29:40.000000000 -0600
+++ xhprof_lib/utils/callgraph_utils.php	2023-11-16 06:17:46.000000000 -0600
@@ -107,7 +107,7 @@
        2 => array("pipe", "w")
        );
 
-  $cmd = " dot -T".$type;
+  $cmd = " @PREFIX@/bin/dot -T".$type;
 
   $process = proc_open( $cmd, $descriptorspec, $pipes, sys_get_temp_dir(), array( 'PATH' => getenv( 'PATH' ) ) );
   if (is_resource($process)) {
