magic-trace icon indicating copy to clipboard operation
magic-trace copied to clipboard

magic-trace collects and displays high-resolution traces of what a process is doing

Results 47 magic-trace issues
Sort by recently updated
recently updated
newest added

This feature adds the argument -events-output=FILENAME and -callstacks. Magic trace will dump all events to the events-output file, either in sexp or binio format depending on the suffix. If the...

Per #246, I think it's busted right now in the face of trace errors. Lets turn it off by default until we ship a solution.

For example, running `magic-trace run -full-execution` on this code: ```ocaml let rec go dir = if (Unix.lstat dir).st_kind = Unix.S_DIR then let rec handle_dir d = match Unix.readdir d with...

bug

Trace files can be large and hard to share. Using zstd to compress trace files allows users to decrease their file sizes, as demonstrated here: ``` $ du -sh trace.fxt...

For #212, this PR shows the source of each call in the args shown given we already have that information. Overall pretty simple, but I modified the calls to store...

Use capability parser to parse the output of getcap command on the perf file path; determine permission to trace kernel based on the linux version and the existence of cap_sys_admin/cap_perfmon...

- Add use-processor-exe and open-url flags to run_command in trace.ml to automate large trace file processing and ui url opening

When showing the user an fzf to select a trigger symbol, show demangled symbols instead of mangled ones. Symbols specified at the command line, I think, should still be mangled...

enhancement
ui

Trace files are big and compress really well, 5x-ish in my experience. Could magic-trace write out compressed traces instead of raw traces? Perfetto already has support for loading gzipped traces....

enhancement
good first issue

Ref https://perf.wiki.kernel.org/index.php/Perf_tools_support_for_Intel%C2%AE_Processor_Trace#Adding_capabilities_to_perf Right now we just check if the user is root, which covers most cases but isn't precise.

enhancement
good first issue