Re: logging process scheduling stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Two more possibly useful information:


$ grep '^config' kernel/trace/Kconfig

config HAVE_FTRACE
config HAVE_DYNAMIC_FTRACE
config TRACER_MAX_TRACE
config TRACING
config FTRACE
config IRQSOFF_TRACER
config PREEMPT_TRACER
config SYSPROF_TRACER
config SCHED_TRACER
config CONTEXT_SWITCH_TRACER
config DYNAMIC_FTRACE
config FTRACE_SELFTEST
config FTRACE_STARTUP_TEST



$ grep trace .config -i

CONFIG_STACKTRACE_SUPPORT=y
# CONFIG_HAVE_ARCH_TRACEHOOK is not set
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_CAN_PM_TRACE=y
# CONFIG_PM_TRACE_RTC is not set
CONFIG_NETFILTER_XT_TARGET_TRACE=m
# CONFIG_SCSI_IPR_TRACE is not set
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_TRACE_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_BACKTRACE_SELF_TEST is not set
CONFIG_HAVE_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_TRACER_MAX_TRACE=y
CONFIG_FTRACE=y
CONFIG_IRQSOFF_TRACER=y
CONFIG_SYSPROF_TRACER=y
CONFIG_SCHED_TRACER=y
CONFIG_CONTEXT_SWITCH_TRACER=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_KVM_TRACE is not set




On Fri, Apr 10, 2009 at 12:43 AM, Sukanto Ghosh
<sukanto.cse.iitb@xxxxxxxxx> wrote:
> Hi,
>
> On Thu, Apr 9, 2009 at 7:15 PM, Sharwan Joram <sharwan.joram@xxxxxxxxx> wrote:
>> You need to configure you kernel with  CONFIG_FUNCTION_TRACER enabled.
>
> My kernel version is 2.6.27.4
> Fedora Core 9
>
> In menuconfig I enabled the options
> "Kernel Hacking -> Kernel Function Tracer"
> "Kernel Hacking -> interrupts-off Latency Tracer"
> "Kernel Hacking -> Sysprof Tracer"
> "Kernel Hacking -> Scheduling Latency Tracer"
> "Kernel Hacking -> Trace process context-switches"
>
> output of 'grep -i ftrace .config' :
> CONFIG_HAVE_FTRACE = y
> CONFIG_HAVE_DYNAMIC_FTRACE = y
> CONFIG_FTRACE = y
>
>
> On Thu, Apr 9, 2009 at 9:06 PM, Mulyadi Santosa
> <mulyadi.santosa@xxxxxxxxx> wrote:
>> And don't forget to read this LWN page http://lwn.net/Articles/322666/
>
> I went through the Documentation/ftrace.txt as well
>
>
> When I do 'make' and 'make modules_install' everything goes fine. But
> during 'make install' it gives lots of warnings (the entire output is
> attached), parts of which look like the following:
>
>
> [...]
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol rpc_shutdown_client
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol auth_domain_find
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol svc_recv
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol xdr_inline_decode
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol svc_reserve
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol svc_max_payload
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol svc_exit_thread
> WARNING: /lib/modules/2.6.27.4/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol xdr_encode_opaque
> [...]
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/dm9601.ko needs
> unknown symbol mii_nway_restart
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/dm9601.ko needs
> unknown symbol generic_mii_ioctl
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/dm9601.ko needs
> unknown symbol mii_ethtool_gset
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/usbnet.ko needs
> unknown symbol mii_ethtool_sset
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/usbnet.ko needs
> unknown symbol mii_link_ok
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/usbnet.ko needs
> unknown symbol mii_nway_restart
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/net/usb/usbnet.ko needs
> unknown symbol mii_ethtool_gset
> [...]
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_device_set_state
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_eh_finish_cmd
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_device_put
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_eh_flush_done_q
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_host_put
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_add_host
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_rescan_device
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_adjust_queue_depth
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_execute
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_build_sense_buffer
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/ata/libata.ko needs
> unknown symbol scsi_req_abort_cmd
> [...]
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/acpi/video.ko needs
> unknown symbol video_output_register
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/acpi/video.ko needs
> unknown symbol video_output_unregister
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/auxdisplay/cfag12864bfb.ko
> needs unknown symbol fb_sys_write
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/auxdisplay/cfag12864bfb.ko
> needs unknown symbol sys_imageblit
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/auxdisplay/cfag12864bfb.ko
> needs unknown symbol sys_fillrect
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/auxdisplay/cfag12864bfb.ko
> needs unknown symbol sys_copyarea
> WARNING: /lib/modules/2.6.27.4/kernel/drivers/auxdisplay/cfag12864bfb.ko
> needs unknown symbol fb_sys_read
> WARNING: No module ehci-hcd found for kernel 2.6.27.4, continuing anyway
> WARNING: No module ohci-hcd found for kernel 2.6.27.4, continuing anyway
> WARNING: No module uhci-hcd found for kernel 2.6.27.4, continuing anyway
>
>
> What am I doing wrong ?
>
>
>
> --
> Regards,
> Sukanto Ghosh
>



-- 
Regards,
Sukanto Ghosh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux