Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Officeyutong committed May 14, 2024
1 parent a8a8f52 commit 355308f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/libbpf-tools/bashreadline/readline.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ int BPF_KRETPROBE(printret, const void *ret)
return 0;
};

char LICENSE[] SEC("license") = "GPL";
char LICENSE[] SEC("license") = "GPL";
3 changes: 2 additions & 1 deletion runtime/src/bpftime_shm_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ extern "C" void bpftime_destroy_global_shm()
shm_holder.global_shared_memory.~bpftime_shm();
// Why not spdlog? because global variables that spdlog used
// were already destroyed..
printf("INFO [%d]: Global shm destructed\n", (int)getpid());
fprintf(stderr, "INFO [%d]: Global shm destructed\n",
(int)getpid());
}
}

Expand Down

0 comments on commit 355308f

Please sign in to comment.