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
schemdraw
360-virtual-reality
stdset
skeletal-animation
on-location-changed
gomobile
rblpapi
cart-analysis
pony
uint16
savedstateviewmodelfactory
unchecked-conversion
ranged-loops
labwindows
hunchentoot
docx4j
filefilter
location-updates
grafana-alerts
mule-component
git-clone
parallels
odp.net-managed
filesystemwatcher
binary-decision-diagram
number-theory
uwp-tasks
version-sort
android-attributes
angular4-httpclient