Skip to content

Commit

Permalink
chore: change directory installation
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <[email protected]>
  • Loading branch information
alegrey91 committed Dec 23, 2024
1 parent 863510e commit 20d002a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ So, `main.doSomething` is the symbol of the function we want to trace using `har
Then, let's run `harpoon` to extract the syscalls from the function `main.doSomething`:

```shell
harpoon capture -f main.doSomething ./binary
harpoon capture -f main.doSomething -- ./binary
read
sigaltstack
gettid
Expand Down Expand Up @@ -58,6 +58,8 @@ You can easily download the latest release using the installation script:
curl -s https://raw.githubusercontent.com/alegrey91/harpoon/main/install | sudo sh
```

(If your current version is `<= v0.8.2`, remove it from `/usr/local/bin/` before installing the new one).

### Build

Or you can build `harpoon` manually by using the following steps:
Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ printf "[download succeded]\n"

# install binary
chmod +x "$BINARY_RELEASE_NAME"
mv "$BINARY_RELEASE_NAME" "/usr/local/bin/$BINARY_NAME"
mv "$BINARY_RELEASE_NAME" "/usr/sbin/$BINARY_NAME"
printf "[installation succeded]\n"

0 comments on commit 20d002a

Please sign in to comment.