Merge branch 'perf/urgent' into perf/core
[linux-2.6-block.git] / tools / perf / util / symbol.c
index e3eebdd682d926b8c07ec2e75b43db35e6380346..582ce72ca4d2df310e9e05658ab910ee1bf5128a 100644 (file)
@@ -396,8 +396,7 @@ static inline int elf_sym__is_function(const GElf_Sym *sym)
 {
        return elf_sym__type(sym) == STT_FUNC &&
               sym->st_name != 0 &&
-              sym->st_shndx != SHN_UNDEF &&
-              sym->st_size != 0;
+              sym->st_shndx != SHN_UNDEF;
 }
 
 static inline int elf_sym__is_label(const GElf_Sym *sym)