ucx
ucx copied to clipboard
CONTRIB/CTAGS: Add ctags script trying to also generate profile functions
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: