Home
last modified time | relevance | path

Searched refs:buildid (Results 1 – 12 of 12) sorted by relevance

/external/perf_data_converter/src/quipper/
Ddso_test.cc35 string buildid; in TEST() local
36 EXPECT_TRUE(ReadElfBuildId(elf.path(), &buildid)); in TEST()
37 EXPECT_EQ(expected_buildid, buildid); in TEST()
42 EXPECT_TRUE(ReadElfBuildId(elf.path(), &buildid)); in TEST()
43 EXPECT_EQ(expected_buildid, buildid); in TEST()
46 EXPECT_TRUE(ReadElfBuildId(elf.path(), &buildid)); in TEST()
47 EXPECT_EQ(expected_buildid, buildid); in TEST()
56 string buildid; in TEST() local
57 EXPECT_FALSE(ReadElfBuildId(elf.path(), &buildid)); in TEST()
66 string buildid; in TEST() local
[all …]
Ddso.cc61 bool GetBuildID(Elf *elf, string *buildid) { in GetBuildID() argument
90 *buildid = desc; in GetBuildID()
105 bool ReadElfBuildId(const string &filename, string *buildid) { in ReadElfBuildId() argument
111 bool ret = ReadElfBuildId(fd, buildid); in ReadElfBuildId()
116 bool ReadElfBuildId(int fd, string *buildid) { in ReadElfBuildId() argument
126 bool err = GetBuildID(elf, buildid); in ReadElfBuildId()
134 bool ReadModuleBuildId(const string &module_name, string *buildid) { in ReadModuleBuildId() argument
141 return ReadBuildIdNote(&file, buildid); in ReadModuleBuildId()
144 bool ReadBuildIdNote(DataReader *data, string *buildid) { in ReadBuildIdNote() argument
156 *buildid = desc; in ReadBuildIdNote()
Ddso_android.cc30 bool ReadElfBuildId(const string &filename, string *buildid) { in ReadElfBuildId() argument
34 *buildid = id.ToString(); in ReadElfBuildId()
40 bool ReadElfBuildId(int fd, string *buildid) { in ReadElfBuildId() argument
46 bool ReadModuleBuildId(const string &module_name, string *buildid) { in ReadModuleBuildId() argument
53 return ReadBuildIdNote(&file, buildid); in ReadModuleBuildId()
56 bool ReadBuildIdNote(DataReader *data, string *buildid) { in ReadBuildIdNote() argument
69 *buildid = desc; in ReadBuildIdNote()
Ddso.h40 bool ReadElfBuildId(const string& filename, string* buildid);
41 bool ReadElfBuildId(int fd, string* buildid);
45 bool ReadModuleBuildId(const string& module_name, string* buildid);
47 bool ReadBuildIdNote(DataReader* data, string* buildid);
Ddso_test_utils.cc76 void WriteElfWithBuildid(string filename, string section_name, string buildid) { in WriteElfWithBuildid() argument
78 std::make_pair(section_name, buildid)}; in WriteElfWithBuildid()
109 const string &buildid = entry.second; in WriteElfWithMultipleBuildids() local
121 note_header.n_descsz = Align<4>(buildid.size()); in WriteElfWithMultipleBuildids()
128 data_str.append(buildid); in WriteElfWithMultipleBuildids()
129 data_str.append(string(note_header.n_descsz - buildid.size(), '\0')); in WriteElfWithMultipleBuildids()
Ddso_test_utils.h16 void WriteElfWithBuildid(string filename, string section_name, string buildid);
Dperf_parser.cc309 string* buildid) { in ReadElfBuildIdIfSameInode() argument
322 return ReadElfBuildId(fd, buildid); in ReadElfBuildIdIfSameInode()
/external/valgrind/coregrind/m_debuginfo/
Dreadelf.c1114 HChar* buildid = NULL; in find_buildid() local
1137 buildid = ML_(dinfo_zalloc)("di.fbi.1", in find_buildid()
1142 VG_(sprintf)(buildid + VG_(strlen)(buildid), in find_buildid()
1158 if (buildid || (!rel_ok && !search_shdrs)) in find_buildid()
1159 return buildid; in find_buildid()
1177 buildid = ML_(dinfo_zalloc)("di.fbi.2", in find_buildid()
1182 VG_(sprintf)(buildid + VG_(strlen)(buildid), in find_buildid()
1196 return buildid; in find_buildid()
1211 DiImage* open_debug_file( const HChar* name, const HChar* buildid, UInt crc, in open_debug_file() argument
1233 if (buildid && crc == 0) { in open_debug_file()
[all …]
/external/elfutils/tests/
Drun-buildid.sh27 testrun_compare ${abs_builddir}/buildid testfile42 testfile42_noshdrs \
DMakefile.am53 buildid deleted deleted-lib.so aggregate_size vdsosyms \ program
96 run-debuglink.sh run-debugaltlink.sh run-buildid.sh \
195 run-debuglink.sh run-debugaltlink.sh run-buildid.sh \
DChangeLog606 * buildid.c, buildid.sh, testfile42_noshdrs.bz2: New files.
607 * Makefile.am (check_PROGRAMS): Add buildid.
608 (TESTS): Add run-buildid.sh.
609 (EXTRA_DISTS): Add run-buildid.sh and testfile42_noshdrs.bz2.
/external/elfutils/
D.gitignore102 /tests/buildid