opd_cookie.h File Reference

cookie -> name cache More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INVALID_COOKIE   ~0LLU
#define NO_COOKIE   0LLU
#define DCOOKIE_SHIFT   7
 Shift value to remove trailing zero on a dcookie value, 7 is sufficient for most architecture.

Typedefs

typedef unsigned long long cookie_t

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)

Detailed Description

cookie -> name cache

Remarks:
Copyright 2002, 2005 OProfile authors
Read the file COPYING
Author:
John Levon

Define Documentation

#define DCOOKIE_SHIFT   7

Shift value to remove trailing zero on a dcookie value, 7 is sufficient for most architecture.

#define INVALID_COOKIE   ~0LLU
#define NO_COOKIE   0LLU

Typedef Documentation

typedef unsigned long long cookie_t

Function Documentation

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().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1