Skip to content

Commit a3c76b8

Browse files
committed
add entrace-script util for queries without a GUI
takes a trace path and a file path, and runs the provided lua file in the same context the GUI would run it.
1 parent e359bd5 commit a3c76b8

File tree

10 files changed

+333
-195
lines changed

10 files changed

+333
-195
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ jobs:
1717
- run: nix build -v -L .#entrace
1818
- run: nix build -v -L .#entrace_core
1919
- run: nix build -v -L .#entrace_core_lite
20+
- run: nix build -v -L .#entrace_script

Cargo.lock

Lines changed: 17 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["example", "gui", "entrace_core", "bench", "entrace_query"]
3+
members = ["example", "gui", "entrace_core", "bench", "entrace_query", "entrace_script"]
44

55
[profile.profiling]
66
inherits = 'release'

entrace_core/src/log_provider.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::{ops::Deref, sync::Arc};
2-
31
use crate::{
42
Header, MetadataRefContainer,
53
remote::{FileIETError, RemoteLogProviderError},

0 commit comments

Comments
 (0)