default or selected kernelversion does not have config value CONFIG_TRACING_EVENTS_GPIO.
Result is shown for kernelversion 6.8.9

Trace gpio events

configname: CONFIG_TRACING_EVENTS_GPIO

Linux Kernel Configuration
└─>Kernel hacking
└─>Tracers
└─>Trace gpio events
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Enable tracing events for gpio subsystem