builtin-annotate.c (32b0ed3ae66cd6114f8510161f833f05518c0395) | builtin-annotate.c (facf3f0621b2e11957af1aae9085730ea78ccf85) |
---|---|
1/* 2 * builtin-annotate.c 3 * 4 * Builtin annotate command: Analyze the perf.data input file, 5 * look up and read DSOs and symbol information and display 6 * a histogram of results, along various sorting keys. 7 */ 8#include "builtin.h" --- 45 unchanged lines hidden (view full) --- 54 struct hists *hists = evsel__hists(evsel); 55 struct hist_entry *he; 56 int ret; 57 58 if (ann->sym_hist_filter != NULL && 59 (al->sym == NULL || 60 strcmp(ann->sym_hist_filter, al->sym->name) != 0)) { 61 /* We're only interested in a symbol named sym_hist_filter */ | 1/* 2 * builtin-annotate.c 3 * 4 * Builtin annotate command: Analyze the perf.data input file, 5 * look up and read DSOs and symbol information and display 6 * a histogram of results, along various sorting keys. 7 */ 8#include "builtin.h" --- 45 unchanged lines hidden (view full) --- 54 struct hists *hists = evsel__hists(evsel); 55 struct hist_entry *he; 56 int ret; 57 58 if (ann->sym_hist_filter != NULL && 59 (al->sym == NULL || 60 strcmp(ann->sym_hist_filter, al->sym->name) != 0)) { 61 /* We're only interested in a symbol named sym_hist_filter */ |
62 /* 63 * FIXME: why isn't this done in the symbol_filter when loading 64 * the DSO? 65 */ |
|
62 if (al->sym != NULL) { 63 rb_erase(&al->sym->rb_node, 64 &al->map->dso->symbols[al->map->type]); 65 symbol__delete(al->sym); 66 } 67 return 0; 68 } 69 --- 319 unchanged lines hidden --- | 66 if (al->sym != NULL) { 67 rb_erase(&al->sym->rb_node, 68 &al->map->dso->symbols[al->map->type]); 69 symbol__delete(al->sym); 70 } 71 return 0; 72 } 73 --- 319 unchanged lines hidden --- |