summaryrefslogtreecommitdiffstats
path: root/src/core/reporter.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-25result: Make fully constexpr, add ON_RESULT_INCLUDEDFearlessTobi1-2/+2
2023-12-04core: refactor emulated cpu core activationLiam1-32/+0
2023-10-22kernel: update KProcessLiam1-1/+1
2023-08-25kernel: offset code entry point for 39-bit address space type (#11326)liamwhite1-2/+2
2023-07-15k_process: PageTable -> GetPageTableLiam1-2/+2
2023-03-24memory: rename global memory references to application memoryLiam1-1/+1
2023-03-22kernel: use KTypedAddress for addressesLiam1-2/+2
2023-03-01service: move hle_ipc from kernelLiam1-3/+3
2023-02-14general: rename CurrentProcess to ApplicationProcessLiam1-5/+5
2023-02-03Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"ameerj1-1/+1
This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363.
2023-02-02Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"liamwhite1-1/+1
2022-12-25service: Use ReadBufferSpan where it is trivial to do soameerj1-1/+1
2022-12-06reporter: Pass by const reference where applicableLioncash1-13/+14
Same behavior, but without memory churn.
2022-12-06reporter: Eliminate undefined behavior in SaveErrorReportLioncash1-4/+4
The optionals are unconditionally dereferenced when setting the custom error text, and in a few cases this function is called using the default value of the optionals. This means we'd be dereferencing uninitialized storage. Since they're used unconditionally, we can use value_or to set a default when storage is uninitialized.
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-4/+4
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-19core: Reduce unused includesameerj1-1/+0
2021-11-04general: Get the current process program id directly from the systemMorph1-4/+4
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
2021-11-04general: Rename GetTitleID to GetProgramIDMorph1-4/+4
2021-07-23cmake: Remove shader cache versionReinUsesLisp1-1/+0
2021-06-28general: Make most settings a BasicSettinglat9nq1-1/+1
Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
2021-06-16fsp_srv: Fix filesystem access loggingMorph1-16/+20
This introduces a new setting Enable FS Access Log which saves the filesystem access log to sdmc:/FsAccessLog.txt If this setting is not enabled, this will indicate to FS to not call OutputAccessLogToSdCard. Fixes softlocks during loading in Xenoblade Chronicles 2 when certain DLC is enabled.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-3/+3
Transition to PascalCase for result names.
2021-05-26common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)Morph1-10/+13
* common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-1/+1
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-05-06hle: kernel: Rename Process to KProcess.bunnei1-1/+1
2021-04-15common: Move settings to common from core.bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2021-02-19hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei1-1/+1
2021-01-20lm: Recode LM serviceChloe Marcec1-50/+0
Rework the service to spit out to logs instead of a seperate file as well as fix any crashes caused by lm.
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash1-4/+5
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-05-08Replace externals with Conan (#3735)James Rowe1-1/+2
* Remove git submodules that will be loaded through conan * Move custom Find modules to their own folder * Use conan for downloading missing external dependencies * CI: Change the yuzu source folder user to the user that the containers run on * Attempt to remove dirty mingw build hack * Install conan on the msvc build * Only set release build type when using not using multi config generator * Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries * Add workaround for submodules that use legacy CMAKE variables * Re-add USE_BUNDLED_QT on the msvc build bot
2020-04-17core: reporter: Updates for new VMM.bunnei1-3/+5
2020-04-17core: memory: Move to Core::Memory namespace.bunnei1-2/+2
- helpful to disambiguate Kernel::Memory namespace.
2020-03-03core: Implement separate A32/A64 ARM interfaces.bunnei1-1/+1
2019-11-27core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash1-1/+1
With all of the trivial parts of the memory interface moved over, we can get right into moving over the bits that are used. Note that this does require the use of GetInstance from the global system instance to be used within hle_ipc.cpp and the gdbstub. This is fine for the time being, as they both already rely on the global system instance in other functions. These will be removed in a change directed at both of these respectively. For now, it's sufficient, as it still accomplishes the goal of de-globalizing the memory code.
2019-11-27core: Prepare various classes for memory read/write migrationLioncash1-7/+7
Amends a few interfaces to be able to handle the migration over to the new Memory class by passing the class by reference as a function parameter where necessary. Notably, within the filesystem services, this eliminates two ReadBlock() calls by using the helper functions of HLERequestContext to do that for us.
2019-09-22lm: Flush manager output on core shutdownZach Hilman1-3/+2
2019-09-22reporter: Add log output for packaged lm log dataZach Hilman1-0/+52
Takes the vector from head to tail of log data and saves it.
2019-09-22reporter: Differentiate between Old, New, and System play reportsZach Hilman1-3/+7
2019-09-04Fix clang-formatEthan1-1/+1
2019-08-29accommodate for fmt updateEthan1-1/+1
2019-07-05core/reporter: Allow moves into SaveToFile()Lioncash1-1/+1
Taking the json instance as a constant reference, makes all moves into the parameter non-functional, resulting in copies. Taking it by value allows moves to function.
2019-07-05core/reporter: Add missing includes and forward declarationsLioncash1-1/+5
Adds missing inclusions to prevent potential compilation issues.
2019-07-05core/reporter: Remove unnecessary namespace qualifiersLioncash1-1/+1
The Reporter class is part of the Core namespace, so the System class doesn't need to be qualified.
2019-07-05core/reporter: Remove pessimizing move in GetHLERequestContextData()Lioncash1-1/+1
This can inhibit copy-elision, so we can remove this redundant move.
2019-07-05core/reporter: Make bracing consistentLioncash1-8/+18
Makes all control statements braced, regardless of their size, making code more uniform.
2019-07-05core/reporter: Return in error case in SaveToFile()Lioncash1-1/+3
If the path couldn't be created, then we shouldn't be attempting to save the file.
2019-06-29reporter: Add report class for filesystem access logsZach Hilman1-0/+18
2019-06-22Update reporter.cppThomas May1-5/+5
2019-05-26loader: Move NSO module tracking to AppLoaderZach Hilman1-36/+38
Also cleanup of general stuff
2019-05-25core: Add Reporter class to take/save reportsZach Hilman1-0/+351