summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>2024-07-18 14:13:55 +0530
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-07-31 16:12:59 -0300
commit1fe86bc245abd1aded01403675d6610455794b5f (patch)
tree089dfc22fc60dec803f502cf72a0413b6d6422b1 /tools/perf/scripts/python/export-to-postgresql.py
parent88444952bdfe27fcc91b1c499a0f77675db592a9 (diff)
downloadkernel-1fe86bc245abd1aded01403675d6610455794b5f.tar.gz
perf annotate: Make capstone_init non-static so that it can be used during symbol disassemble
symbol__disassemble_capstone in util/disasm.c calls function open_capstone_handle to open/init the capstone. We already have a capstone_init function in "util/print_insn.c". But capstone_init is defined as a static function in util/print_insn.c. Change this and also add the function in print_insn.h The open_capstone_handle checks the disassembler_style option from annotation_options to decide whether to set CS_OPT_SYNTAX_ATT. Add that logic in capstone_init also and by default set it to true. Reviewed-by: Kajol Jain <kjain@linux.ibm.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Tested-by: Kajol Jain <kjain@linux.ibm.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Akanksha J N <akanksha@linux.ibm.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Disha Goel <disgoel@linux.vnet.ibm.com> Cc: Hari Bathini <hbathini@linux.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Segher Boessenkool <segher@kernel.crashing.org> Link: https://lore.kernel.org/lkml/20240718084358.72242-13-atrajeev@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
p_btree.c?id=fd9c7f7722d815527269b80d9990aecffa06957c'>xfs: encode the btree geometry flags in the btree ops structureDarrick J. Wong 2024-02-22xfs: drop XFS_BTREE_CRC_BLOCKSDarrick J. Wong 2024-02-22xfs: set the btree cursor bc_ops in xfs_btree_alloc_cursorDarrick J. Wong 2023-12-15xfs: repair inode fork block mapping data structuresDarrick J. Wong 2023-12-06xfs: remove __xfs_free_extent_laterDarrick J. Wong 2023-06-29xfs: use deferred frees for btree block freeingDave Chinner 2023-06-05xfs: validate block number being freed before adding to xefiDave Chinner 2023-04-11xfs: implement masked btree key comparisons for _has_records scansDarrick J. Wong 2023-04-11xfs: replace xfs_btree_has_record with a general keyspace scannerDarrick J. Wong 2023-02-13xfs: use xfs_alloc_vextent_start_bno() where appropriateDave Chinner 2023-02-13xfs: use xfs_alloc_vextent_this_ag() where appropriateDave Chinner 2023-02-11xfs: t_firstblock is tracking AGs not blocksDave Chinner 2023-02-11xfs: drop firstblock constraints from allocation setupDave Chinner 2023-02-11xfs: block reservation too large for minleft allocationDave Chinner 2022-07-12xfs: replace inode fork size macros with functionsDarrick J. Wong 2022-07-09xfs: convert XFS_IFORK_PTR to a static inline helperDarrick J. Wong 2022-04-11xfs: Introduce macros to represent new maximum extent counts for data/attr forksChandan Babu R 2021-10-22xfs: rename xfs_bmap_add_free to xfs_free_extent_laterDarrick J. Wong 2021-10-22xfs: remove kmem_zone typedefDarrick J. Wong 2021-10-19xfs: use separate btree cursor cache for each btree typeDarrick J. Wong 2021-10-19xfs: compute absolute maximum nlevels for each btree typeDarrick J. Wong 2021-10-19xfs: dynamically allocate cursors based on maxlevelsDarrick J. Wong 2021-10-19xfs: refactor btree cursor allocation functionDarrick J. Wong 2021-10-19xfs: remove xfs_btree_cur.bc_blocklogDarrick J. Wong