Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: macOS feasibility incorporation #71

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
202638b
feat: added macro-benchmarking notebook of probe
saleha-muzammil Nov 1, 2024
c89bd06
feat: macOS feasibility incorporation
saleha-muzammil Nov 3, 2024
23a0200
Update flake.nix
saleha-muzammil Nov 3, 2024
2828dad
refactor: separate headers for macOS and linux
saleha-muzammil Nov 8, 2024
3d47beb
refactor: remove unnecessary changes
saleha-muzammil Nov 8, 2024
a5178aa
Update interpose.c
saleha-muzammil Nov 8, 2024
cf3bda8
Update test_program.c
saleha-muzammil Nov 8, 2024
a3289c3
Help with Linux only functions
charmoniumQ Nov 8, 2024
ed2a72f
Irrelevant changes for next PR
charmoniumQ Nov 8, 2024
bdb7047
refactor: modify rust for macOS compatibility
saleha-muzammil Nov 9, 2024
da236b1
refactor: aljendra fixes
saleha-muzammil Nov 10, 2024
30a6f7f
refactor: remove re-definitions
saleha-muzammil Nov 10, 2024
a265082
refactor: define thred_local
saleha-muzammil Nov 10, 2024
bef794d
refactor: remove redefinition
saleha-muzammil Nov 10, 2024
8e6aeb0
refactor: remove from
saleha-muzammil Nov 10, 2024
a7db307
Help with interposing C on mac
charmoniumQ Nov 19, 2024
17bdd38
refactor: moving interpose to lib
saleha-muzammil Nov 22, 2024
1093470
Fix regex
charmoniumQ Nov 22, 2024
528d1f7
Fix generator
charmoniumQ Nov 22, 2024
247a6b7
refactor: put linux only flags
saleha-muzammil Nov 22, 2024
e28ffcf
Fix generator
charmoniumQ Nov 22, 2024
6333485
refactor: fstat64
saleha-muzammil Nov 22, 2024
fa70174
Fix macos defines
charmoniumQ Nov 22, 2024
5b110c6
thread problem
saleha-muzammil Nov 22, 2024
1e9b75e
fix: using POSIX thread-specific data
saleha-muzammil Nov 23, 2024
b43735a
shifting to gcc instead of clang
Jan 27, 2025
ba7876f
Modifications for debugging __thread
charmoniumQ Jan 31, 2025
3601d2e
Modfiied for debugging
charmoniumQ Jan 31, 2025
bd2fbc2
Change ArenaDir to ArenaDir*
charmoniumQ Jan 31, 2025
94889f2
Push stuff
charmoniumQ Jan 31, 2025
445403f
long list implmentation
Feb 14, 2025
92152de
Update flake.nix
saleha-muzammil Feb 14, 2025
339dbb8
Update flake.nix
saleha-muzammil Feb 14, 2025
065d36f
Update flake.nix
saleha-muzammil Feb 14, 2025
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
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compile-lib:
make --directory=probe_src/libprobe all

compile-cli:
env --chdir=probe_src/frontend cargo build --release
cd probe_src/frontend && cargo build --release

compile-tests:
make --directory=probe_src/tests/c all
Expand Down
5,209 changes: 5,209 additions & 0 deletions benchmark/notebook/probe-macro-benchmarks.ipynb

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions benchmark/unprivileged_bpftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,16 @@ sudo chmod 0644 prov.bt
./unprivileged_bpftrace.exe log python -c 'print(34)'
*/

#ifdef __linux__
#define _GNU_SOURCE
#include <linux/limits.h>

#elif defined(__APPLE__)
#include <limits.h>
#else
#error "Unsupported platform"
#endif

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
Loading