cookie -> name cache More...
#include "opd_cookie.h"#include "oprofiled.h"#include "op_list.h"#include "op_libiberty.h"#include <sys/syscall.h>#include <unistd.h>#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <errno.h>
Classes | |
| struct | cookie_entry |
Defines | |
| #define | HASH_SIZE 512 |
| #define | HASH_BITS (HASH_SIZE - 1) |
Functions | |
| char const * | find_cookie (cookie_t cookie) |
| Return the name of the given dcookie. | |
| int | is_cookie_ignored (cookie_t cookie) |
| return true if this cookie should be ignored | |
| char const * | verbose_cookie (cookie_t cookie) |
| give a textual description of the cookie | |
| void | cookie_init (void) |
cookie -> name cache
| #define HASH_BITS (HASH_SIZE - 1) |
| #define HASH_SIZE 512 |
| void cookie_init | ( | void | ) |
References HASH_SIZE.
| char const* find_cookie | ( | cookie_t | cookie | ) |
Return the name of the given dcookie.
May return NULL on failure.
References INVALID_COOKIE, cookie_entry::list, list_entry, list_for_each, cookie_entry::name, NO_COOKIE, and cookie_entry::value.
Referenced by code_spu_ctx_switch(), and opd_open_sample_file().
| int is_cookie_ignored | ( | cookie_t | cookie | ) |
return true if this cookie should be ignored
References cookie_entry::ignored, INVALID_COOKIE, cookie_entry::list, list_entry, list_for_each, NO_COOKIE, and cookie_entry::value.
| char const* verbose_cookie | ( | cookie_t | cookie | ) |
give a textual description of the cookie
References INVALID_COOKIE, cookie_entry::list, list_entry, list_for_each, cookie_entry::name, NO_COOKIE, and cookie_entry::value.
Referenced by sfile_find().
1.6.1