Lines Matching refs:bid
211 build_id__sprintf(&dso->bid, build_id_hex); in dso__read_binary_type_filename()
1404 void dso__set_build_id(struct dso *dso, struct build_id *bid) in dso__set_build_id() argument
1406 dso->bid = *bid; in dso__set_build_id()
1410 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid) in dso__build_id_equal() argument
1412 if (dso->bid.size > bid->size && dso->bid.size == BUILD_ID_SIZE) { in dso__build_id_equal()
1417 return !memcmp(dso->bid.data, bid->data, bid->size) && in dso__build_id_equal()
1418 !memchr_inv(&dso->bid.data[bid->size], 0, in dso__build_id_equal()
1419 dso->bid.size - bid->size); in dso__build_id_equal()
1422 return dso->bid.size == bid->size && in dso__build_id_equal()
1423 memcmp(dso->bid.data, bid->data, dso->bid.size) == 0; in dso__build_id_equal()
1433 if (sysfs__read_build_id(path, &dso->bid) == 0) in dso__read_running_kernel_build_id()
1451 if (sysfs__read_build_id(filename, &dso->bid) == 0) in dso__kernel_module_get_build_id()
1461 build_id__sprintf(&dso->bid, sbuild_id); in dso__fprintf_buildid()