From: Philippe E. <ph...@us...> - 2002-11-01 02:44:43
|
Update of /cvsroot/oprofile/oprofile/libop In directory usw-pr-cvs1:/tmp/cvs-serv16335/libop Modified Files: op_hw_config.h Log Message: don't use L1_CACHE_SHIFT, instead define and use DCOOKIE_SHIFT regards, Phil Index: op_hw_config.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_hw_config.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- op_hw_config.h 25 Sep 2002 14:46:47 -0000 1.7 +++ op_hw_config.h 1 Nov 2002 02:44:40 -0000 1.8 @@ -26,4 +26,10 @@ * detection, so user can set up to (2^31)-1 */ #define OP_MAX_PERF_COUNT 2147483647UL +/** + * Shift value to remove trailing zero on a dcookie value, 7 is sufficient + * for most architecture + */ +#define DCOOKIE_SHIFT 7 + #endif /* OP_HW_CONFIG_H */ |