Classes | |
struct | PairHash |
This struct generates a hash out of two values (uses a pair). More... | |
struct | TupleHash |
This struct generates a hash out of three values (uses a tuple). More... | |
struct | QuadrupleHash |
This struct generates a hash out of four values (uses a pair where the first parameter is a tuple). More... | |
class | BtfEntry |
Class for a BtfEntry. More... | |
class | BtfFile |
Main class of the btf lib. It contains all necessary functions to import and export a BTF file. More... | |
class | Signal |
Class for Signal (SIG) Events (see BTF Specification Chapter 2.3.6). More... | |
class | Core |
Class for the core (C) events. More... | |
class | OS |
Class for OS (EVENT) Events (see BTF Specification Chapter 2.3.5). More... | |
class | Process |
Class for Process Events (see BTF Specification Chapter 2.3.2). More... | |
class | Runnable |
Class for Runnable Events (see BTF Specification Chapter 2.3.3). More... | |
class | Scheduler |
Class for Scheduler (SCHED) Events (see BTF Specification Chapter 2.3.4). More... | |
class | Semaphore |
Class for Semaphore (SEM) Events (see BTF Specification Chapter 2.3.7). More... | |
class | Simulation |
Class for the Simulation (SIM) events. More... | |
class | Stimulus |
Class for Stimulus (STIM) Events (see BTF Specification Chapter 2.3.1). More... | |
Enumerations | |
enum class | EntityTypes { core , os , task , isr , stimulus , scheduler , semaphore , runnable , signal , comment , simulation , syscall , thread , unknown } |
All types of entities that are supported by the btf lib. More... | |
enum class | ErrorCodes { success , already_in_state , invalid_state_transition , descending_timestamp , invalid_type , invalid_event , core_idle_task_still_running , multiple_tasks_running , event_on_idle_core , runnable_source_task_not_running , no_task_running , terminate_on_runnable_with_running_sub_runnable , terminate_on_task_with_running_runnables , allocated_to_different_core , source_and_target_not_equal , amount_of_semaphore_accesses_invalid } |
Error Codes for the btf library. More... | |
Functions | |
std::string | entityTypeToString (EntityTypes type) |
Converts the enum EntityTypes into string. More... | |
EntityTypes | stringToEntityType (const std::string &str) |
Converts a string into the enum EntityTypes. More... | |
std::string | errorCodeToString (ErrorCodes code) |
Converts the enum ErrorCode into string. More... | |
|
strong |
|
strong |
Error Codes for the btf library.
std::string btf::entityTypeToString | ( | EntityTypes | type | ) |
Converts the enum EntityTypes into string.
[in] | type | EntityType that will be converted. |
std::string btf::errorCodeToString | ( | ErrorCodes | code | ) |
Converts the enum ErrorCode into string.
[in] | code | ErrorCode that will be converted. |
EntityTypes btf::stringToEntityType | ( | const std::string & | str | ) |
Converts a string into the enum EntityTypes.
[in] | str | String that will be converted. |