I am new to using trace, but I think this is the output you are looking for:
canconfig-3288 [000] 3756.129866: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.130035: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.130116: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.130234: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.130366: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.148522: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.162588: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.162641: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.162653: can_vma_merge_before <-vma_merge
canconfig-3288 [000] 3756.163033: can_fill_xstats <-rtnl_link_fill
canconfig-3288 [000] 3756.163034: can_fill_info <-rtnl_link_fill
canconfig-3288 [000] 3756.163041: can_fill_xstats <-rtnl_link_fill
canconfig-3288 [000] 3756.163042: can_fill_info <-rtnl_link_fill
canconfig-3288 [000] 3756.163047: can_fill_xstats <-rtnl_link_fill
canconfig-3288 [000] 3756.163048: can_fill_info <-rtnl_link_fill
canconfig-3288 [000] 3756.163066: can_fill_xstats <-rtnl_link_fill
canconfig-3288 [000] 3756.163067: can_fill_info <-rtnl_link_fill
canconfig-3288 [000] 3756.163073: can_fill_xstats <-rtnl_link_fill
canconfig-3288 [000] 3756.163073: can_fill_info <-rtnl_link_fill
Mit freundlichen Grüssen / Yours sincerely,
James Kime
Entwicklung / Development
--------------------------------------------
IXXAT Automation GmbH
Leibnizstr. 15, 88250 Weingarten, Germany
Phone +49-751-56146-181
Fax +49-751-56146-29
mailto:[email protected]
http://www.ixxat.de
--------------------------------------------
PRIVILEGED AND CONFIDENTIAL.
Any unauthorized use or disclosure
is strictly prohibited.
--------------------------------------------
Sitz der Gesellschaft: Weingarten
Handelsregister Ulm HRB 551905
Geschäftsführer:
Dipl.-Ing. Christian Schlegel
--------------------------------------------
-----Original Message-----
From: Wolfgang Grandegger [mailto:[email protected]]
Sent: Friday, December 09, 2011 9:19 AM
To: Kime, James
Cc: [email protected]; [email protected]
Subject: Re: CAN State Information
On 12/09/2011 09:15 AM, Wolfgang Grandegger wrote:
> On 12/09/2011 09:03 AM, [email protected] wrote:
>> I plan to spend some time today tracking down the problem. I am most
>> curious to discover if there is a problem in the msg returned from
>> send_dump_request().
>>
>> $ sudo ./canconfig can0 state
>> can0 state: STOPPED
>> $ sudo ./canconfig can1 state
>> can1 state: STOPPED
>> $ "
>> can2: failed to get state
>> $ sudo ./canconfig can3 state
>> can3: failed to get state
>
> OK, what does strace tell you. Is there a system call failing with "-1"?
> Also ftrace could give some hint (assuming that ftrace and function
> tracing is enabled in you kernel):
>
> # mount -tdebugfs none /sys/kernel/debug/
> # cd /sys/kernel/debug/tracing/
> # echo function > current_tracer
> # echo "can_*" > set_ftrace_filter
> # cat set_ftrace_filter
> # echo 0 > trace
# echo 1 > tracing_on
might also be necessary (usually it on by default).
Wolfgang.
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core