From: John L. <le...@mo...> - 2003-04-16 23:42:33
|
On Wed, Apr 16, 2003 at 02:06:27PM -0700, Philippe Elie wrote: > -char * op_mangle_filename(char const * image_name, char const * app_name) > +char * op_mangle_filename(char const * image_name, char const * app_name, > + char const * event_name, int count, > + unsigned int unit_mask, pid_t tgid, pid_t tid, > + int cpu, int is_kernel) Eek, a bit ugly. Can we please use a temporary structure ? This can also have a "flags" member so we can set tgid as "unset" or "set". > + if (tgid == (pid_t)-1) { Which would avoid this as well. regards john |