Re: [PATCH 6/8] perf annotate browser: Initial support for navigatingjump instructions
From: David Ahern
Date: Sun Apr 08 2012 - 22:02:46 EST
On 4/7/12 2:54 PM, Arnaldo Carvalho de Melo wrote:
+ s = strchr(s, '+');
+ if (s++ == NULL) {
+ ui_helpline__puts("Invallid jump instruction.");
s/Invallid/Invalid/
+ return true;
+ }
+
+ offset = strtoll(s, NULL, 16);
+ line = annotate_browser__find_offset(browser, offset,&idx);
+ if (line == NULL) {
+ ui_helpline__puts("Invallid jump offset");
ditto
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/