Processing the sample buffer. More...
#include "opd_cookie.h"#include "op_types.h"#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | transient |
| Transient values used for parsing the event buffer. More... | |
Typedefs | |
| typedef void(* | handler_t )(struct transient *) |
Enumerations | |
| enum | tracing_type { TRACING_OFF, TRACING_START, TRACING_ON } |
Functions | |
| uint64_t | pop_buffer_value (struct transient *trans) |
| int | enough_remaining (struct transient *trans, size_t size) |
| void | opd_process_samples (char const *buffer, size_t count) |
| void | clear_trans_last (struct transient *trans) |
| used when we need to clear data that's been freed | |
| void | clear_trans_current (struct transient *trans) |
| used when we need to clear data that's been freed | |
Variables | |
| handler_t | handlers [] |
| size_t | kernel_pointer_size |
Processing the sample buffer.
Modified by Maynard Johnson <maynardj@us.ibm.com> These modifications are: (C) Copyright IBM Corporation 2007
| enum tracing_type |
| void clear_trans_current | ( | struct transient * | trans | ) |
used when we need to clear data that's been freed
Referenced by code_spu_ctx_switch().
| void clear_trans_last | ( | struct transient * | trans | ) |
used when we need to clear data that's been freed
| int enough_remaining | ( | struct transient * | trans, | |
| size_t | size | |||
| ) |
References OPD_DANGLING_CODE, opd_stats, verbprintf, and vmisc.
Referenced by code_ibs_fetch_sample(), code_ibs_op_sample(), and code_spu_ctx_switch().
| void opd_process_samples | ( | char const * | buffer, | |
| size_t | count | |||
| ) |
| uint64_t pop_buffer_value | ( | struct transient * | trans | ) |
References kernel_pointer_size.
Referenced by code_ibs_fetch_sample(), code_ibs_op_sample(), code_spu_ctx_switch(), code_spu_profiling(), and opd_process_samples().
| size_t kernel_pointer_size |
Referenced by pop_buffer_value().
1.6.1