diff options
author | Sven Schnelle <[email protected]> | 2021-09-24 15:03:07 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2021-10-04 09:49:37 +0200 |
commit | f768a20c0a6e5f2396b9ab99bbbfd39d91228df9 (patch) | |
tree | d296e5171468dbb3b150c2d250f104dd7e4d8cb1 /scripts/gdb/linux/tasks.py | |
parent | 54235d5cfea05f2891dca71d51d7ab097b53d22b (diff) |
s390/ftrace: add FTRACE_GEN_NOP_ASM macro
FTRACE_GEN_NOP_ASM(name) can be used to generate assembly functions with
the required information added to allow tracing via kprobes/ftrace. It
adds the nop instruction which will be patched by ftrace later. If the
compiler supports -mnop-mcount it will also add an entry to the
__mcount_loc section.
Signed-off-by: Sven Schnelle <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions