@@ -186,7 +186,9 @@ void Pkgs::initDescriptions() {
186
186
fclose (f);
187
187
188
188
{
189
- ZoneNamedN (___tracy_pkg_pacman, " Initialize alpm and dbs" , true );
189
+ ZoneNamedN (___tracy_get_pkg_repo, " get package repository" , true );
190
+ const auto tracyArgs = " pkg: " + pkg.name ;
191
+ ___tracy_get_pkg_repo.Text (tracyArgs.c_str (), tracyArgs.length ());
190
192
for (auto [repoId, db] : repos) {
191
193
auto pkgFound = alpm_db_get_pkg (db, pkg.name .c_str ());
192
194
if (pkgFound) {
@@ -204,9 +206,9 @@ void Pkgs::initDescriptions() {
204
206
{
205
207
ZoneNamedN (___tracy_fill_deps, " Fill package required by" , true );
206
208
for (auto & pkg : descriptions) {
207
- ZoneNamedN (___tracy_get_descs_pkg , " Complete packages that depend on" , true );
209
+ ZoneNamedN (___tracy_get_req_by_pkg , " Complete packages that depend on" , true );
208
210
const auto tracyArgs = " Pkg: " + pkg.first ;
209
- ___tracy_get_descs_pkg .Text (tracyArgs.c_str (), tracyArgs.length ());
211
+ ___tracy_get_req_by_pkg .Text (tracyArgs.c_str (), tracyArgs.length ());
210
212
for (auto & dep : pkg.second .depends ) {
211
213
if (descriptions.contains (dep))
212
214
descriptions.at (dep).requiredBy .insert (pkg.first );
0 commit comments