I'm using ftrace to trace ip_local_out() in kernel 5.4.20. I'm sure ip_local_out() is available to trace: /sys/kernel/debug/tracing # cat available_filter_funct
aws-rest-api
exslt
readonly-collection
aws-automation
freetts
decodable
wp-media
gringo
dunst
compojure
contentobserver
bulk-synchronous-parallel
identity-column
anonymize
tokbox
rainbow-js
amphp
asgi
bitmapshader
import-contacts
uiscenedelegate
login
revert
wordml
volatile
pdf-rendering
docker-app
ui-thread
cametallayer
bpy