symbol.c (fad837c16cdd856c68ce2e1335ad0fe836ed8ecd) symbol.c (fe2197b8bb2f318c1e0b0f589f24f781dd27d1f2)
1#include "util.h"
2#include "../perf.h"
3#include "sort.h"
4#include "string.h"
5#include "symbol.h"
6#include "thread.h"
7
8#include "debug.h"

--- 848 unchanged lines hidden (view full) ---

857out_elf_end:
858 elf_end(elf);
859out_close:
860 close(fd);
861
862 if (err == 0)
863 return nr;
864out:
1#include "util.h"
2#include "../perf.h"
3#include "sort.h"
4#include "string.h"
5#include "symbol.h"
6#include "thread.h"
7
8#include "debug.h"

--- 848 unchanged lines hidden (view full) ---

857out_elf_end:
858 elf_end(elf);
859out_close:
860 close(fd);
861
862 if (err == 0)
863 return nr;
864out:
865 pr_warning("%s: problems reading %s PLT info.\n",
866 __func__, self->long_name);
865 pr_debug("%s: problems reading %s PLT info.\n",
866 __func__, self->long_name);
867 return 0;
868}
869
870static bool elf_sym__is_a(GElf_Sym *self, enum map_type type)
871{
872 switch (type) {
873 case MAP__FUNCTION:
874 return elf_sym__is_function(self);

--- 1084 unchanged lines hidden ---
867 return 0;
868}
869
870static bool elf_sym__is_a(GElf_Sym *self, enum map_type type)
871{
872 switch (type) {
873 case MAP__FUNCTION:
874 return elf_sym__is_function(self);

--- 1084 unchanged lines hidden ---