Skip to content

Commit

Permalink
模块全开
Browse files Browse the repository at this point in the history
  • Loading branch information
cfc4n committed Dec 2, 2021
1 parent 0cfe98c commit a01f979
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ CLANG ?= clang
EXTRA_CFLAGS ?= -O2 -mcpu=v1 -nostdinc

LINUXINCLUDE = \
-I/usr/include \
-I/home/cfc4n/download/linux-5.11.0/include \
-I/home/cfc4n/download/linux-5.11.0/tools/lib
-I/usr/include \
-I/home/cfc4n/download/linux-5.11.0/include \
-I/home/cfc4n/download/linux-5.11.0/tools/lib


all: $(KERN_OBJECTS) build
Expand All @@ -25,9 +25,9 @@ all: $(KERN_OBJECTS) build
.PHONY: clean

clean:
rm -rf user/bytecode/*.d
rm -rf user/bytecode/*.o
rm -rf bin/ehids
rm -f user/bytecode/*.d
rm -f user/bytecode/*.o
rm -f bin/ehids

$(KERN_OBJECTS): %.o: %.c
$(CLANG) $(EXTRA_CFLAGS) \
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
logger := log.Default()
for k, probe := range user.ProbeMaps {
if probe.ProbeName() != "EBPFProbeUJavaRASP" && probe.ProbeName() != "EBPFProbeProc" {
continue
// continue 模块启用临时开关
}

logger.Printf("start to run %s probe", k)
Expand Down

0 comments on commit a01f979

Please sign in to comment.