perf: Support setting the disassembler style
[pandora-kernel.git] / tools / perf / builtin-annotate.c
index c5be288..cf68819 100644 (file)
@@ -273,6 +273,8 @@ static const struct option options[] = {
                    "Interleave source code with assembly code (default)"),
        OPT_BOOLEAN('0', "asm-raw", &symbol_conf.annotate_asm_raw,
                    "Display raw encoding of assembly instructions (default)"),
+       OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style",
+                  "Specify disassembler style (e.g. -M intel for intel syntax)"),
        OPT_END()
 };