Re: trace-cmd problem with FC19

From: Arend van Spriel
Date: Thu Oct 17 2013 - 16:07:26 EST


On 10/17/13 20:41, Steven Rostedt wrote:
On Thu, 17 Oct 2013 14:08:08 +0200
"Arend van Spriel"<arend@xxxxxxxxxxxx> wrote:

Hi Steven,

When tracing I get these error messages and no trace data is recorded. I
also cloned the trace-cmd repo and tried that with the same result. I
think the kernel configuration looks ok, but adding it.

I use it almost daily on Ubuntu system, but trying Fedora for a change.
I do have a difference with kernel taint with my driver loaded:

Ubuntu 4096 (OOT module loaded, ie. my driver)
Fedora 4098 (OOT *and* forced module?)

'forced module' probably caused by:
[10808.074823] Request for unknown module key 'Fedora kernel signing
key: 8661dbf3061bfa70eb76d61691cec200318534b4' err -11

Would that explain my issue?

Regards,
Arend

---8<----------------------------------------------------
$ sudo trace-cmd record -e brcmfmac:*
/sys/kernel/debug/tracing/events/brcmfmac/*/filter
Hit Ctrl^C to stop recording
^Ctrace-cmd: Interrupted system call
trace-cmd: Interrupted system call
recorder error in splice inputrecorder error in splice input

I haven't seen this before.

Was the brcmfmac module the one that was forced loaded?

Does recording other traces work? Or is it only spicific to this module?

It seems a generic issue:

$ sudo trace-cmd record -e ext4:* ls
/sys/kernel/debug/tracing/events/ext4/*/filter
systemd-private-6pVB5L systemd-private-KdpFqS trace.dat.cpu0 trace.dat.cpu2
systemd-private-9hedRD trace.dat trace.dat.cpu1 trace.dat.cpu3
trace-cmd: Interrupted system call
recorder error in splice input
trace-cmd: Interrupted system call
recorder error in splice input
trace-cmd: Interrupted system call
recorder error in splice input
trace-cmd: Interrupted system call
recorder error in splice input
Kernel buffer statistics:
Note: "entries" are the entries left in the kernel ring buffer and are not
recorded in the trace data. They should all be zero.

I got the modules properly signed so only OOT taint is set and it still does not work.

Regards,
Arend

-- Steve


trace-cmd: Interrupted system call
recorder error in splice input
trace-cmd: Interrupted system call
recorder error in splice input
Kernel buffer statistics:
Note: "entries" are the entries left in the kernel ring buffer and
are not
recorded in the trace data. They should all be zero.





--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/