A more versatile tkprof