1PT_ENC_GET_CONFIG(3)                                      PT_ENC_GET_CONFIG(3)
2
3
4

NAME

6       pt_enc_get_config,    pt_pkt_get_config,    pt_qry_get_config,   pt_in‐
7       sn_get_config, pt_blk_get_config - get an Intel(R) Processor Trace  en‐
8       coder/decoder’s configuration
9

SYNOPSIS

11       #include <intel-pt.h>
12       const struct pt_config *
13       pt_enc_get_config(const struct pt_encoder *encoder);
14       const struct pt_config *
15       pt_pkt_get_config(const struct pt_packet_decoder *decoder);
16       const struct pt_config *
17       pt_qry_get_config(const struct pt_query_decoder *decoder);
18       const struct pt_config *
19       pt_insn_get_config(const struct pt_insn_decoder *decoder);
20       const struct pt_config *
21       pt_blk_get_config(const struct pt_block_decoder *decoder);
22
23       Link with -lipt.
24

DESCRIPTION

26       These  functions  return  a  pointer to their argument’s configuration.
27       The returned configuration object must not be freed.  It  is  valid  as
28       long as their argument is not freed.
29

RETURN VALUE

31       These  functions returns a pointer to a pt_config object.  The returned
32       pointer is NULL if their argument is NULL.
33

SEE ALSO

35       pt_config(3), pt_alloc_encoder(3), pt_pkt_alloc_decoder(3),  pt_qry_al‐
36       loc_decoder(3), pt_insn_alloc_decoder(3), pt_blk_alloc_decoder(3)
37
38
39
40                                                          PT_ENC_GET_CONFIG(3)
Impressum