From: Philippe E. <ph...@us...> - 2003-10-26 00:25:55
|
Update of /cvsroot/oprofile/oprofile/dae In directory sc8-pr-cvs1:/tmp/cvs-serv21081/dae Modified Files: opd_image.c opd_image.h opd_proc.c Log Message: dae/ daemon/ s/filtered/ignored/ Index: opd_image.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/opd_image.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -p -d -r1.33 -r1.34 --- opd_image.c 25 Oct 2003 23:40:46 -0000 1.33 +++ opd_image.c 26 Oct 2003 00:21:06 -0000 1.34 @@ -156,11 +156,11 @@ opd_new_image(char const * name, char co image->app_name = app_name ? xstrdup(app_name) : NULL; image->mtime = op_get_mtime(image->name); - image->filtered = 0; + image->ignored = 1; if (separate_lib && app_name) - image->filtered = is_image_filtered(app_name); - if (!image->filtered) - image->filtered = is_image_filtered(name); + image->ignored = is_image_ignored(app_name); + if (image->ignored) + image->ignored = is_image_ignored(name); memset(image->sfiles, '\0', OP_MAX_COUNTERS * NR_CPUS * sizeof(struct opd_sfile *)); Index: opd_image.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/opd_image.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -p -d -r1.16 -r1.17 --- opd_image.h 25 Oct 2003 23:40:46 -0000 1.16 +++ opd_image.h 26 Oct 2003 00:21:06 -0000 1.17 @@ -46,7 +46,7 @@ struct opd_image { /* kernel image or not */ int kernel; /* non zero if this image must be profiled */ - int filtered; + int ignored; }; typedef void (*opd_image_cb)(struct opd_image *); Index: opd_proc.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/opd_proc.c,v retrieving revision 1.157 retrieving revision 1.158 diff -u -p -d -r1.157 -r1.158 --- opd_proc.c 25 Oct 2003 23:40:46 -0000 1.157 +++ opd_proc.c 26 Oct 2003 00:21:06 -0000 1.158 @@ -216,7 +216,7 @@ void opd_put_image_sample(struct opd_ima struct opd_sfile * sfile; int err; - if (!image->filtered) + if (image->ignored) return; sfile = image->sfiles[counter][cpu_number]; |