Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,23 @@ be stripped.

### Inspecting collections

The `collection` (alias `coll`/`c`) sub-command lists the peak stack usage for each program / function in the given
The `list` (alias `l`) sub-command lists the peak stack usage for each program / function in the given
object file.

```
$ stackwhere collection {path to .o}
$ stackwhere list {path to .o}
128 bytes - my_example_program
80 bytes - my_other_program
20 bytes - small_function
```

### Inspecting programs

The `program` (alias `prog`/`p`) sub-command lists the stack usage of a single program / function.
The `list` (alias `l`) sub-command lists a detailed per program listing when a program name is specified as the second
argument.

```
$ stackwhere program {path to .o} {name of program}
$ stackwhere list {path to .o} {name of program}
R10-16:
8 - example_var1 @ /some/path/to/your/sources/bpf.c:12
R10-24:
Expand Down
114 changes: 0 additions & 114 deletions cmd/stackwhere/collection.go

This file was deleted.

29 changes: 0 additions & 29 deletions cmd/stackwhere/collection_test.go

This file was deleted.

Loading