On Wed, 23 Jul 2025 11:31:08 +0800 Shuai Xue <xuesh...@linux.alibaba.com> wrote:
> + TP_printk("%s type:%d, reason:%d, cur_bus_speed:%s, max_bus_speed:%s, > width:%u, flit_mode:%u, status:%s\n", > + __get_str(port_name), > + __entry->type, > + __entry->reason, > + pci_speed_string(__entry->cur_bus_speed), > + pci_speed_string(__entry->max_bus_speed), Hmm, I guess pci_speed_string() should be added to libtraceveent so that perf and trace-cmd parses it correctly. I guess rasdaemon would want that too (which also uses libtraceevent). -- Steve > + __entry->width, > + __entry->flit_mode, > + __print_flags((unsigned long)__entry->link_status, "|", > + LNKSTA_FLAGS) > + ) > +);