GDB (xrefs)

Functions
py-record-btrace.h File Reference
`#include "python-internal.h"`

Go to the source code of this file.

## Functions
PyObject * | recpy_bt_method (PyObject *self, void *closure)
PyObject * | recpy_bt_format (PyObject *self, void *closure)
PyObject * | recpy_bt_goto (PyObject *self, PyObject *value)
PyObject * | recpy_bt_instruction_history (PyObject *self, void *closure)
PyObject * | recpy_bt_function_call_history (PyObject *self, void *closure)
PyObject * | recpy_bt_replay_position (PyObject *self, void *closure)
PyObject * | recpy_bt_begin (PyObject *self, void *closure)
PyObject * | recpy_bt_end (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_number (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_sal (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_pc (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_data (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_decoded (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_size (PyObject *self, void *closure)
PyObject * | recpy_bt_insn_is_speculative (PyObject *self, void *closure)
PyObject * | recpy_bt_func_number (PyObject *self, void *closure)
PyObject * | recpy_bt_func_level (PyObject *self, void *closure)
PyObject * | recpy_bt_func_symbol (PyObject *self, void *closure)
PyObject * | recpy_bt_func_instructions (PyObject *self, void *closure)
PyObject * | recpy_bt_func_up (PyObject *self, void *closure)
PyObject * | recpy_bt_func_prev (PyObject *self, void *closure)
PyObject * | recpy_bt_func_next (PyObject *self, void *closure)

## Function Documentation

## ◆ recpy_bt_begin()

PyObject* recpy_bt_begin | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 672 of file py-record-btrace.c.

References btpy_insn_or_gap_new(), btrace_fetch(), btrace_insn_begin(), btrace_insn_number(), btrace_is_empty(), find_thread_ptid(), and arm-linux::record().

Referenced by recpy_begin().

## ◆ recpy_bt_end()

PyObject* recpy_bt_end | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 694 of file py-record-btrace.c.

References btpy_insn_or_gap_new(), btrace_fetch(), btrace_insn_end(), btrace_insn_number(), btrace_is_empty(), find_thread_ptid(), and arm-linux::record().

Referenced by recpy_end().

## ◆ recpy_bt_format()

PyObject* recpy_bt_format | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 632 of file py-record-btrace.c.

References btrace_conf(), btrace_format_short_string(), find_thread_ptid(), btrace_config::format, and arm-linux::record().

Referenced by recpy_format().

## ◆ recpy_bt_func_instructions()

PyObject* recpy_bt_func_instructions | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 371 of file py-record-btrace.c.

References btpy_list_new(), btrace_func_from_recpy_func(), func, and recpy_insn_type.

Referenced by recpy_func_instructions().

## ◆ recpy_bt_func_level()

PyObject* recpy_bt_func_level | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 338 of file py-record-btrace.c.

References btrace_func_from_recpy_func(), find_thread_ptid(), and func.

Referenced by recpy_func_level().

## ◆ recpy_bt_func_next()

PyObject* recpy_bt_func_next | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 430 of file py-record-btrace.c.

References btrace_func_from_recpy_func(), func, RECORD_METHOD_BTRACE, and recpy_func_new().

Referenced by recpy_func_next().

## ◆ recpy_bt_func_number()

PyObject* recpy_bt_func_number | ( | PyObject * | self,
|  | void * | closure
| ) |  |

## ◆ recpy_bt_func_prev()

PyObject* recpy_bt_func_prev | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 412 of file py-record-btrace.c.

References btrace_func_from_recpy_func(), func, RECORD_METHOD_BTRACE, and recpy_func_new().

Referenced by recpy_func_prev().

## ◆ recpy_bt_func_symbol()

PyObject* recpy_bt_func_symbol | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 354 of file py-record-btrace.c.

References btrace_func_from_recpy_func(), func, and symbol_to_symbol_object().

Referenced by recpy_func_symbol().

## ◆ recpy_bt_func_up()

PyObject* recpy_bt_func_up | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 394 of file py-record-btrace.c.

References btrace_func_from_recpy_func(), func, RECORD_METHOD_BTRACE, and recpy_func_new().

Referenced by recpy_func_up().

## ◆ recpy_bt_function_call_history()

PyObject* recpy_bt_function_call_history | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 745 of file py-record-btrace.c.

References btpy_list_new(), btrace_call_begin(), btrace_call_end(), btrace_call_number(), btrace_fetch(), btrace_is_empty(), find_thread_ptid(), arm-linux::record(), and recpy_func_type.

Referenced by recpy_function_call_history().

## ◆ recpy_bt_goto()

PyObject* recpy_bt_goto | ( | PyObject * | self,
|  | PyObject * | value
| ) |  |

Definition at line 773 of file py-record-btrace.c.

References _, btrace_insn_end(), btrace_insn_number(), btrace_is_empty(), CATCH, END_CATCH, find_thread_ptid(), GDB_PY_HANDLE_EXCEPTION, gdbpy_gdb_error, recpy_element_object::number, Py_TYPE, arm-linux::record(), recpy_insn_type, RETURN_MASK_ALL, target_goto_record(), target_goto_record_end(), and TRY.

Referenced by recpy_goto().

## ◆ recpy_bt_insn_data()

PyObject* recpy_bt_insn_data | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 272 of file py-record-btrace.c.

References btrace_insn_from_recpy_insn(), CATCH, END_CATCH, GDB_PY_HANDLE_EXCEPTION, btrace_insn::pc, read_memory(), RETURN_MASK_ALL, btrace_insn::size, TRY, xfree(), and xmalloc().

Referenced by recpy_insn_data().

## ◆ recpy_bt_insn_decoded()

PyObject* recpy_bt_insn_decoded | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 311 of file py-record-btrace.c.

References btrace_insn_from_recpy_insn(), CATCH, END_CATCH, gdb_print_insn(), gdbpy_convert_exception(), btrace_insn::pc, RETURN_MASK_ALL, string_file::string(), target_gdbarch(), and TRY.

Referenced by recpy_insn_decoded().

## ◆ recpy_bt_insn_is_speculative()

PyObject* recpy_bt_insn_is_speculative | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 255 of file py-record-btrace.c.

References BTRACE_INSN_FLAG_SPECULATIVE, btrace_insn_from_recpy_insn(), and btrace_insn::flags.

Referenced by recpy_insn_is_speculative().

## ◆ recpy_bt_insn_number()

PyObject* recpy_bt_insn_number | ( | PyObject * | self,
|  | void * | closure
| ) |  |

## ◆ recpy_bt_insn_pc()

PyObject* recpy_bt_insn_pc | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 227 of file py-record-btrace.c.

References btrace_insn_from_recpy_insn(), gdb_py_long_from_ulongest, and btrace_insn::pc.

Referenced by recpy_insn_pc().

## ◆ recpy_bt_insn_sal()

PyObject* recpy_bt_insn_sal | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 202 of file py-record-btrace.c.

References btrace_insn_from_recpy_insn(), CATCH, END_CATCH, find_pc_line(), GDB_PY_HANDLE_EXCEPTION, btrace_insn::pc, RETURN_MASK_ALL, symtab_and_line_to_sal_object(), and TRY.

Referenced by recpy_insn_sal().

## ◆ recpy_bt_insn_size()

PyObject* recpy_bt_insn_size | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 241 of file py-record-btrace.c.

References btrace_insn_from_recpy_insn(), and btrace_insn::size.

Referenced by recpy_insn_size().

## ◆ recpy_bt_instruction_history()

PyObject* recpy_bt_instruction_history | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 716 of file py-record-btrace.c.

References btpy_list_new(), btrace_fetch(), btrace_insn_begin(), btrace_insn_end(), btrace_insn_number(), btrace_is_empty(), find_thread_ptid(), arm-linux::record(), and recpy_insn_type.

Referenced by recpy_instruction_history().

## ◆ recpy_bt_method()

PyObject* recpy_bt_method | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 623 of file py-record-btrace.c.

Referenced by recpy_method().

## ◆ recpy_bt_replay_position()

PyObject* recpy_bt_replay_position | ( | PyObject * | self,
|  | void * | closure
| ) |  |

Definition at line 653 of file py-record-btrace.c.

References btpy_insn_or_gap_new(), btrace_insn_number(), find_thread_ptid(), and arm-linux::record().

Referenced by recpy_replay_position().