-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process IDs (PIDs) are reused on Linux, so it's possible that we start profiling a Ruby process with some PID and later on, while still profiling, this process exits and a new one is spawned with this same PID. The profiling information will be wrong. rbperf has some guardrails to help here, such as ensuring that method and path names are valid unicode, otherwise we consider the stack to be invalid, but it would be best to actively ensure we don't have a race condition here. By using the `pid + start_time` of the process, we should be able to have a truly unique identifier of every process Signed-off-by: Francisco Javier Honduvilla Coto <javierhonduco@gmail.com>
- Loading branch information
1 parent
7c14cd0
commit 272c8f3
Showing
8 changed files
with
136,842 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/bpf/vmlinux.h -linguist-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
typedef signed char __s8; | ||
typedef unsigned char __u8; | ||
typedef short int __s16; | ||
typedef short unsigned int __u16; | ||
typedef int __s32; | ||
typedef unsigned int __u32; | ||
typedef long long int __s64; | ||
typedef long long unsigned int __u64; | ||
|
||
typedef __s8 s8; | ||
typedef __u8 u8; | ||
typedef __s16 s16; | ||
typedef __u16 u16; | ||
typedef __s32 s32; | ||
typedef __u32 u32; | ||
typedef __s64 s64; | ||
typedef __u64 u64; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.