summaryrefslogtreecommitdiffstats
path: root/src/core/reporter.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: refactor emulated cpu core activationLiam2023-12-041-32/+0
|
* kernel: update KProcessLiam2023-10-221-1/+1
|
* kernel: offset code entry point for 39-bit address space type (#11326)liamwhite2023-08-251-2/+2
|
* k_process: PageTable -> GetPageTableLiam2023-07-151-2/+2
|
* memory: rename global memory references to application memoryLiam2023-03-241-1/+1
|
* kernel: use KTypedAddress for addressesLiam2023-03-221-2/+2
|
* service: move hle_ipc from kernelLiam2023-03-011-3/+3
|
* general: rename CurrentProcess to ApplicationProcessLiam2023-02-141-5/+5
|
* Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"ameerj2023-02-031-1/+1
| | | | | This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363.
* Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"liamwhite2023-02-021-1/+1
|
* service: Use ReadBufferSpan where it is trivial to do soameerj2022-12-251-1/+1
|
* reporter: Pass by const reference where applicableLioncash2022-12-061-13/+14
| | | | Same behavior, but without memory churn.
* reporter: Eliminate undefined behavior in SaveErrorReportLioncash2022-12-061-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.
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-4/+4
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* core: Reduce unused includesameerj2022-03-191-1/+0
|
* general: Get the current process program id directly from the systemMorph2021-11-041-4/+4
| | | | This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
* general: Rename GetTitleID to GetProgramIDMorph2021-11-041-4/+4
|
* cmake: Remove shader cache versionReinUsesLisp2021-07-231-1/+0
|
* general: Make most settings a BasicSettinglat9nq2021-06-281-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.
* fsp_srv: Fix filesystem access loggingMorph2021-06-161-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.
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-3/+3
| | | | Transition to PascalCase for result names.
* common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)Morph2021-05-261-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
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-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.
* hle: kernel: Rename Process to KProcess.bunnei2021-05-061-1/+1
|
* common: Move settings to common from core.bunnei2021-04-151-1/+1
| | | | - Removes a dependency on core and input_common from common.
* hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei2021-02-191-1/+1
|
* lm: Recode LM serviceChloe Marcec2021-01-201-50/+0
| | | | Rework the service to spit out to logs instead of a seperate file as well as fix any crashes caused by lm.
* common/fileutil: Convert namespace to Common::FSLioncash2020-08-161-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.
* Replace externals with Conan (#3735)James Rowe2020-05-081-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
* core: reporter: Updates for new VMM.bunnei2020-04-171-3/+5
|
* core: memory: Move to Core::Memory namespace.bunnei2020-04-171-2/+2
| | | | - helpful to disambiguate Kernel::Memory namespace.
* core: Implement separate A32/A64 ARM interfaces.bunnei2020-03-031-1/+1
|
* core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash2019-11-271-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.
* core: Prepare various classes for memory read/write migrationLioncash2019-11-271-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.
* lm: Flush manager output on core shutdownZach Hilman2019-09-221-3/+2
|
* reporter: Add log output for packaged lm log dataZach Hilman2019-09-221-0/+52
| | | Takes the vector from head to tail of log data and saves it.
* reporter: Differentiate between Old, New, and System play reportsZach Hilman2019-09-221-3/+7
|
* Fix clang-formatEthan2019-09-041-1/+1
|
* accommodate for fmt updateEthan2019-08-291-1/+1
|
* Merge pull request #2642 from DarkLordZach/fsp-log-2bunnei2019-07-081-0/+18
|\ | | | | fsp-srv: Implement Access Logging Functionality
| * reporter: Add report class for filesystem access logsZach Hilman2019-06-291-0/+18
| |
* | core/reporter: Allow moves into SaveToFile()Lioncash2019-07-051-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.
* | core/reporter: Add missing includes and forward declarationsLioncash2019-07-051-1/+5
| | | | | | | | Adds missing inclusions to prevent potential compilation issues.
* | core/reporter: Remove unnecessary namespace qualifiersLioncash2019-07-051-1/+1
| | | | | | | | | | The Reporter class is part of the Core namespace, so the System class doesn't need to be qualified.
* | core/reporter: Remove pessimizing move in GetHLERequestContextData()Lioncash2019-07-051-1/+1
| | | | | | | | This can inhibit copy-elision, so we can remove this redundant move.
* | core/reporter: Make bracing consistentLioncash2019-07-051-8/+18
| | | | | | | | | | Makes all control statements braced, regardless of their size, making code more uniform.
* | core/reporter: Return in error case in SaveToFile()Lioncash2019-07-051-1/+3
|/ | | | | If the path couldn't be created, then we shouldn't be attempting to save the file.
* Update reporter.cppThomas May2019-06-221-5/+5
|
* loader: Move NSO module tracking to AppLoaderZach Hilman2019-05-261-36/+38
| | | Also cleanup of general stuff
* core: Add Reporter class to take/save reportsZach Hilman2019-05-251-0/+351