projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23fc589
)
Use correct data type for class Data
author
Nan Xiao
<nan@chinadtrace.org>
Thu, 17 Aug 2017 02:56:36 +0000
(10:56 +0800)
committer
Brenden Blanco
<bblanco@gmail.com>
Fri, 25 Aug 2017 23:43:51 +0000
(16:43 -0700)
tools/filelife.py
patch
|
blob
|
history
diff --git
a/tools/filelife.py
b/tools/filelife.py
index
a00d3d7
..
9405af3
100755
(executable)
--- a/
tools/filelife.py
+++ b/
tools/filelife.py
@@
-103,7
+103,7
@@
DNAME_INLINE_LEN = 255 # linux/dcache.h
class Data(ct.Structure):
_fields_ = [
- ("pid", ct.c_u
longlong
),
+ ("pid", ct.c_u
int
),
("delta", ct.c_ulonglong),
("comm", ct.c_char * TASK_COMM_LEN),
("fname", ct.c_char * DNAME_INLINE_LEN)