summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-10 01:00:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commit43f98ac6e1eb913846980226b2524a4b419c6183 (patch)
treeb0c508cafcd9cb9d4698d0bad4579cfc433a9e14 /Userland/DevTools/UserspaceEmulator
parent874c7bba289222916911caf3102c77ee3a261d77 (diff)
downloadserenity-43f98ac6e1eb913846980226b2524a4b419c6183.zip
Everywhere: Remove the `AK::` qualifier from Stream usages
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator')
-rw-r--r--Userland/DevTools/UserspaceEmulator/Emulator.cpp4
-rw-r--r--Userland/DevTools/UserspaceEmulator/Emulator.h10
-rw-r--r--Userland/DevTools/UserspaceEmulator/main.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.cpp b/Userland/DevTools/UserspaceEmulator/Emulator.cpp
index c4157b1ca4..93e0c41a1f 100644
--- a/Userland/DevTools/UserspaceEmulator/Emulator.cpp
+++ b/Userland/DevTools/UserspaceEmulator/Emulator.cpp
@@ -499,7 +499,7 @@ void Emulator::dump_backtrace()
dump_backtrace(raw_backtrace());
}
-void Emulator::emit_profile_sample(AK::Stream& output)
+void Emulator::emit_profile_sample(Stream& output)
{
if (!is_in_region_of_interest())
return;
@@ -512,7 +512,7 @@ void Emulator::emit_profile_sample(AK::Stream& output)
output.write_entire_buffer(builder.string_view().bytes()).release_value_but_fixme_should_propagate_errors();
}
-void Emulator::emit_profile_event(AK::Stream& output, StringView event_name, DeprecatedString const& contents)
+void Emulator::emit_profile_event(Stream& output, StringView event_name, DeprecatedString const& contents)
{
StringBuilder builder;
timeval tv {};
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.h b/Userland/DevTools/UserspaceEmulator/Emulator.h
index 8675911b19..c08be6e9c3 100644
--- a/Userland/DevTools/UserspaceEmulator/Emulator.h
+++ b/Userland/DevTools/UserspaceEmulator/Emulator.h
@@ -32,7 +32,7 @@ public:
Emulator(DeprecatedString const& executable_path, Vector<StringView> const& arguments, Vector<DeprecatedString> const& environment);
- void set_profiling_details(bool should_dump_profile, size_t instruction_interval, AK::Stream* profile_stream, NonnullOwnPtrVector<DeprecatedString>* profiler_strings, Vector<int>* profiler_string_id_map)
+ void set_profiling_details(bool should_dump_profile, size_t instruction_interval, Stream* profile_stream, NonnullOwnPtrVector<DeprecatedString>* profiler_strings, Vector<int>* profiler_string_id_map)
{
m_is_profiling = should_dump_profile;
m_profile_instruction_interval = instruction_interval;
@@ -46,7 +46,7 @@ public:
m_is_in_region_of_interest = value;
}
- AK::Stream& profile_stream() { return *m_profile_stream; }
+ Stream& profile_stream() { return *m_profile_stream; }
NonnullOwnPtrVector<DeprecatedString>& profiler_strings() { return *m_profiler_strings; }
Vector<int>& profiler_string_id_map() { return *m_profiler_string_id_map; }
@@ -139,8 +139,8 @@ private:
void send_signal(int);
- void emit_profile_sample(AK::Stream&);
- void emit_profile_event(AK::Stream&, StringView event_name, DeprecatedString const& contents);
+ void emit_profile_sample(Stream&);
+ void emit_profile_event(Stream&, StringView event_name, DeprecatedString const& contents);
int virt$accept4(FlatPtr);
u32 virt$allocate_tls(FlatPtr, size_t);
@@ -295,7 +295,7 @@ private:
RangeAllocator m_range_allocator;
- AK::Stream* m_profile_stream { nullptr };
+ Stream* m_profile_stream { nullptr };
Vector<int>* m_profiler_string_id_map { nullptr };
NonnullOwnPtrVector<DeprecatedString>* m_profiler_strings { nullptr };
diff --git a/Userland/DevTools/UserspaceEmulator/main.cpp b/Userland/DevTools/UserspaceEmulator/main.cpp
index 52e497f69d..097128e798 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 = DeprecatedString::formatted("{}.{}.profile", LexicalPath(executable_path).basename(), getpid());
- OwnPtr<AK::Stream> profile_stream;
+ OwnPtr<Stream> profile_stream;
OwnPtr<NonnullOwnPtrVector<DeprecatedString>> profile_strings;
OwnPtr<Vector<int>> profile_string_id_map;