From 8218095436b25b5b153a99b7e94dc164a8cf2bae Mon Sep 17 00:00:00 2001 From: Konstantin Bogomolov Date: Mon, 1 May 2023 10:01:13 -0700 Subject: [PATCH] Fix second systrap blogpost image. getpid-ptrace-vs-systrap-unopt.svg was a copy of getpid-ptrace-vs-native.svg. Rename image so previously cached image isn't reused. PiperOrigin-RevId: 528499423 --- .../assets/images/2023-04-28-getpid-ptrace-vs-systrap-unopt.svg | 1 - .../images/2023-04-28-getpid-ptrace-vs-systrap-unoptimized.svg | 1 + website/blog/2023-04-28-systrap-release.md | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unopt.svg create mode 100644 website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unoptimized.svg diff --git a/website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unopt.svg b/website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unopt.svg deleted file mode 100644 index 84d8fbc3c..000000000 --- a/website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unopt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unoptimized.svg b/website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unoptimized.svg new file mode 100644 index 000000000..671e0e696 --- /dev/null +++ b/website/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unoptimized.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/blog/2023-04-28-systrap-release.md b/website/blog/2023-04-28-systrap-release.md index 801f80a4a..b62bda9a7 100644 --- a/website/blog/2023-04-28-systrap-release.md +++ b/website/blog/2023-04-28-systrap-release.md @@ -77,7 +77,7 @@ populates shared memory regions, and requests the sentry to handle the requested system call. This alone proved to be faster than using `PTRACE_SYSEMU`, as demonstrated by the `getpid` benchmark: -![Figure 2](/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unopt.svg "Getpid benchmark: ptrace vs. Systrap."){:width="100%"} +![Figure 2](/assets/images/2023-04-28-getpid-ptrace-vs-systrap-unoptimized.svg "Getpid benchmark: ptrace vs. Systrap."){:width="100%"} Can we make it even faster? Recall what the main purpose of our signal handler is: to send a request to the sentry via shared memory. To do that, the sandboxed