On 1/14/15 4:18 AM, Namhyung Kim wrote:

@@ -129,8 +124,7 @@ static inline struct sym_hist *annotation__histogram(struct 
annotation *notes, i

  static inline struct annotation *symbol__annotation(struct symbol *sym)
  {
-       struct sannotation *a = container_of(sym, struct sannotation, symbol);
-       return &a->annotation;
+       return (void *)sym - symbol_conf.priv_size;

symbol__priv(sym);

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to