Commit Graph

401 Commits

Author SHA1 Message Date
dafd6d18ab janitorial: create unified helper handler 2025-09-10 01:22:45 +05:30
3628276e08 Add ktime 2025-09-09 23:40:05 +05:30
8ee5d03c5d Update imports to use direct namespace imports
WARNING: OLD STYLE IMPORTS DO NOT WORK The old style of importing the
full module and using pb.* prefixes has been replaced with direct
imports of the needed names. This makes the code more explicit about
what is being used and removes the unnecessary pb prefix.
2025-09-09 17:12:04 +05:30
05c398dc21 add compile command 2025-09-09 16:48:05 +05:30
263b849a38 Add newline to IR output and update version number 2025-09-09 14:01:09 +05:30
e0385759b2 make dwarf constant handling easier 2025-09-09 13:37:50 +05:30
896daddf0b change debug_compile_unit addition location 2025-09-09 13:15:31 +05:30
12bca3cfab fix: debug info addition for specific hashmap 2025-09-09 12:57:03 +05:30
d7a5a06eab remove line numbers from debug info
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
2025-09-09 12:16:01 +05:30
46cefd4143 Add debug info 2025-09-09 11:47:11 +05:30
1a94f63a79 add type error fixing methods to hashmap 2025-09-09 11:44:43 +05:30
ff7663803d implement bpf map lookup emission 2025-09-09 01:04:39 +05:30
33468b01d4 remove constants pass as it's functionality has been replicated
elsewhere
2025-09-09 00:35:29 +05:30
d397aa5280 Add stub for bpf_ktime_get_ns 2025-09-09 00:26:31 +05:30
5adc6d75e9 janitorial 2025-09-09 00:26:06 +05:30
7c15bff6c0 Implement lookup key parsing 2025-09-09 00:21:09 +05:30
03404bb164 make license handling easier 2025-09-09 00:19:53 +05:30
d6ba30805e add lookup method to fool type checker 2025-09-09 00:10:02 +05:30
542cb549b7 Add basic assignment 2025-09-09 00:07:25 +05:30
5ce4474fa7 debug info versioning 2025-09-08 23:48:04 +05:30
e218e48162 Pass map_sym_tab to functions pass 2025-09-08 22:50:14 +05:30
a5a671133c Add map_sym_tab 2025-09-08 22:48:09 +05:30
f7aa054b31 get hashmap compiling 2025-09-08 22:26:16 +05:30
1a82875f68 rename globals to map 2025-09-08 21:31:56 +05:30
2a3f367e23 separate map creation logic 2025-09-08 21:26:27 +05:30
08ff07641e Add map decorator and simplify type conversion logic 2025-09-08 20:32:51 +05:30
83937dc11a Remove debug prints and add @bpfglobal support 2025-09-08 20:16:31 +05:30
627ee9265a fix: Hashmap type check 2025-09-08 20:06:21 +05:30
1bbf004554 Add basic map generation 2025-09-08 04:21:09 +05:30
d87decd25e Add bpf_ktime_get_ns helper function without IR gen 2025-09-07 20:58:54 +05:30
7e47f8dcef Multi string and multi program support 2025-09-07 20:41:41 +05:30
d52b9ceb69 separate out bpf_printk IR generator 2025-09-07 20:22:29 +05:30
1118e4fcd6 add naive unpythonic return type inference to function parsing 2025-09-07 20:12:39 +05:30
c0559639f2 Get ex2 running 2025-09-07 19:19:58 +05:30
6a57b0d554 Add trace_fields scaffolding 2025-09-07 13:31:38 +05:30
43b8c2c010 Complete example 1, albeit hardcoded somewhat. Implement body function processing skeleton 2025-09-06 14:40:51 +05:30
4ce92f0c95 Implement probe string extraction 2025-09-06 13:41:56 +05:30
ac7f8e09f8 Implement bpf chunk ID 2025-09-06 13:33:43 +05:30
88fa690493 Add bpf decorator, start rewrite 2025-09-06 12:49:39 +05:30
c9e4910a89 hardcoded func gen 2025-09-06 12:49:37 +05:30
8d7c869c47 skip decorator constants 2025-09-04 10:45:28 +05:30
ba3030a694 Update bpf examples and remove function pass code 2025-09-04 10:33:43 +05:30
9b4ef23a62 Comment out non string based decorator to decide later and also make
changes to decorator adding a "section"
2025-09-03 18:46:46 +05:30
0ee8b541d1 Add constant check (maybe broken) and also a globals pass 2025-09-03 18:30:52 +05:30
0a4d5ea4f9 Add sys_clone, add hello world example 2025-09-03 01:11:13 +05:30
0d026c5399 Fix syntax - make more pythonic 2025-09-03 01:01:21 +05:30
a8e7a42b72 WIP functions processing 2025-08-31 05:12:47 +05:30
b4a2f169ad emit license 2025-08-30 22:33:58 +05:30
b8ef7cc945 Remove trace_printk decorator function 2025-08-30 18:54:46 +05:30
e19aa9fa66 Organize source files 2025-08-30 18:49:08 +05:30