mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
Don't create perf map files in linux unless enabled
This commit is contained in:
parent
16f006362e
commit
b4d5b44e00
@ -19,6 +19,7 @@ LOG_CHANNEL(jit_log, "JIT");
|
||||
void jit_announce(uptr func, usz size, std::string_view name)
|
||||
{
|
||||
#ifdef __linux__
|
||||
#if 0
|
||||
static const struct tmp_perf_map
|
||||
{
|
||||
std::string name{fmt::format("/tmp/perf-%d.map", getpid())};
|
||||
@ -44,6 +45,7 @@ void jit_announce(uptr func, usz size, std::string_view name)
|
||||
fs::remove_file(s_map.name);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (!size)
|
||||
|
Loading…
Reference in New Issue
Block a user