Skip to content

Instantly share code, notes, and snippets.

@gs0510
Last active October 12, 2017 20:28
Show Gist options
  • Save gs0510/bf367384c57f87ed9f98ac8be86da53e to your computer and use it in GitHub Desktop.
Save gs0510/bf367384c57f87ed9f98ac8be86da53e to your computer and use it in GitHub Desktop.
+--------+------------------------+------+------+-----+-------+----------+
| | filename | text | data | bss | dec | hex |
+--------+------------------------+------+------+-----+-------+----------+
| | | | | | | |
| BEFORE | kernel/pid.o | 8447 | 3894 | 64 | 12405 | 3075 |
| AFTER | | 3397 | 304 | 0 | 3701 | e75 |
| BEFORE | kernel/pid_namespace.o | 5692 | 1842 | 192 | 7726 | 1e2e |
| AFTER | | 2854 | 216 | 16 | 3086 | c0e |
+--------+------------------------+------+------+-----+-------+----------+
ps:
With IDR API With bitmap
real 0m1.962s 0m2.319s
user 0m0.052s 0m0.060s
sys 0m0.392s 0m0.516s
pstree:
With IDR API With bitmap
real 0m1.062s 0m1.794s
user 0m0.536s 0m0.612s
sys 0m0.184s 0m0.264s
proc:
With IDR API With bitmap
real 0m0.073s 0m0.074s
user 0m0.004s 0m0.004s
sys 0m0.012s 0m0.016s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment