perf_record_ksymbol
struct perf_record_ksymbol ksymbol;
struct perf_record_ksymbol *ksymbol_event = &event->ksymbol;
*ksymbol_event = (struct perf_record_ksymbol) {
.size = offsetof(struct perf_record_ksymbol, name),
struct perf_record_ksymbol *ksymbol;
*ksymbol = (struct perf_record_ksymbol) {
.size = offsetof(struct perf_record_ksymbol, name),