Skip to content

Commit

Permalink
Merge pull request #623 from hermit-os/strace
Browse files Browse the repository at this point in the history
feat: add strace feature
  • Loading branch information
mkroening authored Sep 17, 2024
2 parents 764dcda + 7933f2b commit 72e57a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
11 changes: 6 additions & 5 deletions hermit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ default = [

acpi = []
dhcpv4 = []
dns = []
fs = []
fsgsbase = []
idle-poll = []

# Build the kernel with function instrument code for mcount-based tracing
instrument = []

mmap = []
pci = []
pci-ids = ["pci"]

Expand All @@ -44,15 +47,13 @@ randomize-layout = []
# if this feature isn't set, the Virtio interface will be used
rtl8139 = ["pci"]

shell = []
smp = []
strace = []
tcp = []
udp = []
dns = []
trace = []
udp = []
vga = []
shell = []
idle-poll = []
mmap = []
vsock = []

[build-dependencies]
Expand Down
15 changes: 8 additions & 7 deletions hermit/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,21 @@ impl KernelSrc {
[
"acpi",
"dhcpv4",
"dns",
"fs",
"fsgsbase",
"idle-poll",
"mmap",
"pci",
"pci-ids",
"rtl8139",
"shell",
"smp",
"strace",
"tcp",
"udp",
"trace",
"udp",
"vga",
"rtl8139",
"fs",
"shell",
"dns",
"mmap",
"idle-poll",
"vsock",
]
.into_iter(),
Expand Down

0 comments on commit 72e57a8

Please sign in to comment.