diff options
author | Anup Sharma <[email protected]> | 2023-07-21 23:23:19 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-07-28 19:01:16 -0300 |
commit | 5aacd7f08a3276f4fad729a600d51a1cc5d5191a (patch) | |
tree | 233aa37257e793a2e776becb7bfeed681648fc69 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0a02e44cc2fe1657af1f2740cb9a1dcd8a9338cc (diff) |
perf scripts python: Add classes and conversion functions
This commit introduces new classes and conversion functions to
facilitate the representation of Gecko profile information. The new
classes Frame, Stack, Sample, and Thread are added to handle specific
components of the profile data, also link to the origin docs has been
commented out.
Additionally, Inside the Thread class _to_json_dict() method has been
created that converts the current thread data into the corresponding
format expected by the GeckoThread JSON schema, as per the Gecko
profile format specification.
Signed-off-by: Anup Sharma <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/ab7b40bd32df7101a6f8b4a3aa41570b63b831ac.1689961706.git.anupnewsmail@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions