ucx icon indicating copy to clipboard operation
ucx copied to clipboard

CONTRIB/CTAGS: Add ctags script trying to also generate profile functions

Open tvegas1 opened this issue 4 months ago • 3 comments

What

Generate tag including profiled functions.

Why ?

Need to be able to follow those functions.

How ?

$ ./contrib/ctags.sh
$ grep 'cuda_ocpy_ep_get.*PROFILE_FUNC' tags
uct_cuda_copy_ep_get_short      ./src/uct/cuda/cuda_copy/cuda_copy_ep.c /^UCS_PROFILE_FUNC(ucs_status_t, uct_cuda_copy_ep_get_short,$/;"        f       typeref:typename:ucs_status_t   file:
uct_gdr_copy_ep_get_short       ./src/uct/cuda/gdr_copy/gdr_copy_ep.c   /^UCS_PROFILE_FUNC(ucs_status_t, uct_gdr_copy_ep_get_short,$/;" f       typeref:typename:ucs_status_t   file:

tvegas1 avatar Oct 14 '24 16:10 tvegas1