You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Knowing the name of a specific tracepoint in the kernel (eg: sched_switch), it is currently possible to find its definition, but the corresponding function call can not be found directly with the search field. In this example, the corresponding function is trace_sched_switch, but inputing trace_sched_switch in the research field yields no results in Elixir.
The text was updated successfully, but these errors were encountered:
defs, or definitions. Those are given to us by universal-ctags.
refs, or references. Those are ANY word in the source code that have a definition with the same name.
So we don't have any entry for trace_sched_switch because ctags gives us no entry for it anywhere in the kernel. And no references because there are no definitions.
We could be able to do something about the definition using ctags -D:
The issue is that -D leads to functions reported at the end of the macro. The question was asked to the universal-ctags maintainer. See #379. And masatake released a draft PR two days ago handling the issue! universal-ctags/ctags#4198
fstachura
added
the
indexing
Related to the index content — missing definitions/references, lexer bugs, new ctags features...
label
Feb 21, 2025
Knowing the name of a specific tracepoint in the kernel (eg:
sched_switch
), it is currently possible to find its definition, but the corresponding function call can not be found directly with the search field. In this example, the corresponding function is trace_sched_switch, but inputingtrace_sched_switch
in the research field yields no results in Elixir.The text was updated successfully, but these errors were encountered: