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
backup
gpt-2
sql-server-ce
entitygraph
cockpit
vstest
django-request
vsx
geomap
komodo
resample
tdom
exceptionsubscriber
aws-amplify-vue
lockbox-3
openlayers
activation-function
android-tools-namespace
performancepoint
unnamed-pipes
ihttphandler
icarousel
memcachier
password-masking
desktop-application
npm-config
android-shell
octave-gui
fasm
psr-6