5g: profiling support

(To be documented)