Skip to content

Commit

Permalink
Merge pull request #117 from jichenjc/fix_2
Browse files Browse the repository at this point in the history
fix: add page hit
  • Loading branch information
marceloamaral authored Oct 31, 2023
2 parents 5ed913c + c4c2825 commit d01caa4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/design/ebpf_in_kepler.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ HZ = 1000

This value is stored in array `cpu_freq_array`

## Calculate 'page cache hit'

The probe function in kepler `kprobe__set_page_dirty` and `kprobe__mark_page_accessed` are used to track page cache hit for write and read action respectively.

## Process Table

The bpf program maintains a bpf hash named `processes`. This hash maintains data calculated for a process. Kepler reads values from this hash ( known as a `Table` in bcc ) and generates metrics.
Expand Down

0 comments on commit d01caa4

Please sign in to comment.