00:11
pwithnall has quit [Quit: pwithnall]
00:54
White_Light has quit [Quit: Leaving]
01:38
scox has joined #systemtap
02:03
White_Light has joined #systemtap
03:50
irker406 has quit [Quit: transmission timeout]
04:00
ravi_ has joined #systemtap
06:18
hkshaw has joined #systemtap
06:25
nkambo has joined #systemtap
06:38
Humble has quit [Ping timeout: 255 seconds]
06:51
Humble has joined #systemtap
07:45
groleo has joined #systemtap
07:57
Humble has quit [Ping timeout: 240 seconds]
08:10
gila has joined #systemtap
08:21
pwithnall has joined #systemtap
08:48
mjw has joined #systemtap
08:49
Humble has joined #systemtap
10:40
hkshaw has quit [Quit: Leaving.]
11:10
bendlas has quit [Remote host closed the connection]
11:15
bendlas has joined #systemtap
11:18
ravi_ has quit [Quit: Leaving]
11:49
hkshaw has joined #systemtap
12:42
wcohen has quit [Remote host closed the connection]
13:03
tromey has joined #systemtap
13:06
groleo has quit [Ping timeout: 264 seconds]
13:55
nkambo has quit [Ping timeout: 248 seconds]
14:08
drsmith has joined #systemtap
14:14
wcohen has joined #systemtap
14:19
wcohen has quit [Ping timeout: 252 seconds]
14:19
wcohen has joined #systemtap
14:20
bsingh has joined #systemtap
14:20
bsingh has quit [Client Quit]
14:20
bsingh has joined #systemtap
14:21
bsingh has quit [Client Quit]
14:50
nkambo has joined #systemtap
14:53
hkshaw has quit [Ping timeout: 256 seconds]
15:12
brolley has joined #systemtap
15:51
pwithnall has quit [Ping timeout: 255 seconds]
15:54
pwithnall has joined #systemtap
17:06
Humble has quit [Ping timeout: 256 seconds]
17:11
tonyj has joined #systemtap
17:30
Humble has joined #systemtap
17:33
pwithnall has quit [Quit: pwithnall]
18:52
mjw has quit [Quit: Leaving]
19:08
<
jistone >
modem, try @cast(obj, "drm_gem_object", "kernel<drm/drm_gem.h>")
19:08
<
jistone >
the default is to treat them as userspace headers
19:09
<
jistone >
so the @cast probably didn't find the header at all
19:10
<
jistone >
(if that's the case, the error message should be improved)
20:07
<
modem >
semantic error: type definition 'drm_gem_object' not found in 'kernel<drm/drm_gem.h>': operator '@cast' at a.stp:32:10
20:07
<
modem >
not working :-( thanks jistone
20:09
<
jistone >
Running gcc -shared -g -fno-eliminate-unused-debug-types -xc /dev/null -o /tmp/stapvZ4FFT/typequery_umod_1.so -include drm/drm_gem.h
20:09
<
jistone >
Spawn waitpid result (0x100): 1
20:09
<
jistone >
WARNING: gcc exited with status: 1
20:10
<
jistone >
that header probably needs some prerequisite #include
20:11
<
jistone >
oh nevermind, that's the userspace attempt
20:11
<
jistone >
In file included from <command-line>:0:0:
20:11
<
jistone >
struct kref refcount;
20:11
<
jistone >
./include/drm/drm_gem.h:55:14: error: field ‘refcount’ has incomplete type
20:12
<
jistone >
and many more errors
20:12
<
jistone >
so yeah, still probably needs a prerequisite #include or two
20:13
<
jistone >
modem, the manpage shows you can write a sequence like "kernel<linux/sched.h><linux/fs_struct.h>"
20:13
<
jistone >
so you'll need to figure out what drm_gem.h expects
21:16
nkambo has quit [Read error: Connection reset by peer]
21:31
drsmith has left #systemtap [#systemtap]
21:48
<
modem >
i might aswell extract the structure and include my own .h
22:00
scox has quit [Ping timeout: 255 seconds]
22:01
wcohen has quit [Ping timeout: 256 seconds]
22:08
<
jistone >
modem, or if you have debuginfo, just pull it from drm.ko
22:09
<
jistone >
@cast(obj, "drm_gem_object", "drm")
22:09
<
jistone >
when using headers, stap just compiles it to a debug object anyway
22:10
<
jistone >
(i.e. it's not hiding some c/c++ compiler inside)
22:17
pwithnall_ has joined #systemtap
22:24
pwithnall_ has quit [Quit: pwithnall_]
22:39
tromey has quit [Quit: ERC (IRC client for Emacs 25.1.91.3)]
22:47
jhg_ has joined #systemtap
22:49
brolley has left #systemtap [#systemtap]
22:49
wcohen has joined #systemtap
22:53
pwithnall_ has joined #systemtap