5 * @remark Copyright 2002, 2005 OProfile authors
6 * @remark Read the file COPYING
14 typedef unsigned long long cookie_t;
16 #define INVALID_COOKIE ~0LLU
17 #define NO_COOKIE 0LLU
20 * Shift value to remove trailing zero on a dcookie value, 7 is sufficient
21 * for most architecture
23 #define DCOOKIE_SHIFT 7
26 * Return the name of the given dcookie. May return
29 char const * find_cookie(cookie_t cookie);
31 /** return true if this cookie should be ignored */
32 int is_cookie_ignored(cookie_t cookie);
34 /** give a textual description of the cookie */
35 char const * verbose_cookie(cookie_t cookie);
37 void cookie_init(void);
39 #endif /* OPD_COOKIE_H */