hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/tools/perf/arch/x86/annotate/instructions.c
....@@ -110,6 +110,7 @@
110110 { .name = "por", .ops = &mov_ops, },
111111 { .name = "rclb", .ops = &mov_ops, },
112112 { .name = "rcll", .ops = &mov_ops, },
113
+ { .name = "ret", .ops = &ret_ops, },
113114 { .name = "retq", .ops = &ret_ops, },
114115 { .name = "sbb", .ops = &mov_ops, },
115116 { .name = "sbbl", .ops = &mov_ops, },
....@@ -196,8 +197,10 @@
196197 if (arch->initialized)
197198 return 0;
198199
199
- if (cpuid)
200
- err = x86__cpuid_parse(arch, cpuid);
200
+ if (cpuid) {
201
+ if (x86__cpuid_parse(arch, cpuid))
202
+ err = SYMBOL_ANNOTATE_ERRNO__ARCH_INIT_CPUID_PARSING;
203
+ }
201204
202205 arch->initialized = true;
203206 return err;