From 045461b7cb99eb10f028d717fbab25e0602c12f5 Mon Sep 17 00:00:00 2001 From: Hendiadyoin1 Date: Wed, 22 Sep 2021 16:22:14 +0200 Subject: [PATCH] UserspaceEmulator: Use only the base name for the profile name --- Userland/DevTools/UserspaceEmulator/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/DevTools/UserspaceEmulator/main.cpp b/Userland/DevTools/UserspaceEmulator/main.cpp index e66dc09123..8612ac0600 100644 --- a/Userland/DevTools/UserspaceEmulator/main.cpp +++ b/Userland/DevTools/UserspaceEmulator/main.cpp @@ -56,7 +56,7 @@ int main(int argc, char** argv, char** env) } if (dump_profile && profile_dump_path.is_empty()) - profile_dump_path = String::formatted("{}.{}.profile", executable_path, getpid()); + profile_dump_path = String::formatted("{}.{}.profile", LexicalPath(executable_path).basename(), getpid()); OwnPtr profile_stream; if (dump_profile) {