HPCToolkit
cct_backtrace_finalize.h
Go to the documentation of this file.
1
#ifndef __cct_backtrace_finalize_h__
2
#define __cct_backtrace_finalize_h__
3
4
//******************************************************************************
5
// local includes
6
//******************************************************************************
7
8
#include "
unwind/common/backtrace_info.h
"
9
#include "
cct/cct.h
"
10
#include "
cct/cct_bundle.h
"
11
12
13
14
//******************************************************************************
15
// type declarations
16
//******************************************************************************
17
18
typedef
void (*
cct_backtrace_finalize_fn
)(
19
backtrace_info_t
*bt,
20
int
isSync
21
);
22
23
24
typedef
struct
cct_backtrace_finalize_entry_s
{
25
cct_backtrace_finalize_fn
fn
;
26
struct
cct_backtrace_finalize_entry_s
*
next
;
27
}
cct_backtrace_finalize_entry_t
;
28
29
30
typedef
cct_node_t
* (*cct_cursor_finalize_fn)(
31
cct_bundle_t
*cct,
32
backtrace_info_t
*bt,
33
cct_node_t
*cursor
34
);
35
36
//******************************************************************************
37
// forward declarations
38
//******************************************************************************
39
40
extern
void
cct_backtrace_finalize_register
(
41
cct_backtrace_finalize_entry_t
*e
42
);
43
44
45
extern
void
cct_backtrace_finalize
(
46
backtrace_info_t
*bt,
47
int
isSync
48
);
49
50
51
extern
void
cct_cursor_finalize_register
(
52
cct_cursor_finalize_fn
fn
53
);
54
55
56
extern
cct_node_t
*
cct_cursor_finalize
(
57
cct_bundle_t
*cct,
58
backtrace_info_t
*bt,
59
cct_node_t
*cursor
60
);
61
62
#endif
cct_backtrace_finalize
void cct_backtrace_finalize(backtrace_info_t *bt, int isSync)
Definition:
cct_backtrace_finalize.c:44
cct_cursor_finalize_fn
cct_node_t *(* cct_cursor_finalize_fn)(cct_bundle_t *cct, backtrace_info_t *bt, cct_node_t *cursor)
Definition:
cct_backtrace_finalize.h:30
cct_backtrace_finalize_fn
void(* cct_backtrace_finalize_fn)(backtrace_info_t *bt, int isSync)
Definition:
cct_backtrace_finalize.h:18
cct_cursor_finalize_register
void cct_cursor_finalize_register(cct_cursor_finalize_fn fn)
Definition:
cct_backtrace_finalize.c:35
backtrace_info.h
cct_backtrace_finalize_register
void cct_backtrace_finalize_register(cct_backtrace_finalize_entry_t *e)
Definition:
cct_backtrace_finalize.c:24
cct_backtrace_finalize_entry_t
struct cct_backtrace_finalize_entry_s cct_backtrace_finalize_entry_t
cct_bundle.h
cct_cursor_finalize
cct_node_t * cct_cursor_finalize(cct_bundle_t *cct, backtrace_info_t *bt, cct_node_t *cursor)
Definition:
cct_backtrace_finalize.c:58
cct_bundle_t
Definition:
cct_bundle.h:61
cct_backtrace_finalize_entry_s
Definition:
cct_backtrace_finalize.h:24
cct.h
cct_backtrace_finalize_entry_s::fn
cct_backtrace_finalize_fn fn
Definition:
cct_backtrace_finalize.h:25
backtrace_info_t
Definition:
backtrace_info.h:18
cct_node_t
Definition:
cct.c:96
cct_backtrace_finalize_entry_s::next
struct cct_backtrace_finalize_entry_s * next
Definition:
cct_backtrace_finalize.h:26
src
tool
hpcrun
cct_backtrace_finalize.h
Generated by
1.8.13