#
# PARTNER-Jet Linux support patch by KMC
#
# Ver2.0	08.04.14
# Ver2.01	08.07.22	depends keyword "on"
#

menu 'PARTNER Debugging'

choice
    prompt "Debug information type"
    default CONFIG_DEBINFO_STABP
    config DEBINFO_NONE
        bool "NONE"
    config DEBINFO_STAB
        bool "STAB"
    config DEBINFO_STABP
        bool "extendedSTAB"
    config DEBINFO_DWARF
        bool "DWARF-1"
    config DEBINFO_DWARFP
        bool "extendDWARF-1"
    config DEBINFO_DWARF2
        bool "DWARF-2"
endchoice

config KMC_PATCH
    bool "Enable patch for PARTNER debug"
    select KMC_PATCH_STRUCT
    default n

config KMC_PATCH_STRUCT
    bool "Change common structure for PARTNER debug"
    default n

config KMC_MODULE_DEBUG
    bool "Loadable module debug by PARTNER-Jet"
    default y
    depends on KMC_PATCH_STRUCT

choice
    prompt "select module debug type"
    depends on KMC_MODULE_DEBUG
    default KMC_MODULE_DEBUG_NEW
    config KMC_MODULE_AUTO
        bool "debug hook in module side"
    config KMC_MODULE_DEBUG_NEW
        bool "debug hook in kernel side"
endchoice

config KMC_USE_BT
    bool "use PARTNER GigaTrace(PARTNER-Jet M40, ...)"
    default n
    depends on KMC_PATCH

config KMC_USE_BT_DATATRACE
    bool "use CPU Data Trace"
    default n
    depends on KMC_USE_BT

config KMC_EVENTTRACKER_SUPPORT
    bool "enable PARNTER-Jet Event Tracker"
    default n
    depends on KMC_PATCH

config KMC_EVENTTRACKER_RTM
    bool "event data is only from CPU's trace"
    default n
    depends on KMC_EVENTTRACKER_SUPPORT && KMC_USE_BT

config KMC_EVENTTRACKER_LOG_SIZE
    int "max event count (x1024, set is 1, 2, 4, 8, 16, 32, 64, .....)"
    depends on KMC_EVENTTRACKER_SUPPORT && !KMC_EVENTTRACKER_RTM
    default 4

config KMC_LINUX_PROFILE
    bool "enable PARNTER-Jet Linux Process Trace(ARM V6 or V7 only)"
    default n
    select KMC_LINUX_ARMV6_EXT_PROFILE
    depends on KMC_PATCH && (CPU_V6 || CPU_V7)

config KMC_LINUX_ARMV6_EXT_PROFILE
    bool

    menu 'PARTNER Extend menu'
        depends on KMC_PATCH

        config KMC_PARTNER_AVAILABLE_OFF
        bool "OFF:ICE AVAILABLE STATUS Support"
        default n

        config KMC_ICE_CHK_MOD_DEB
        bool "ice check at module debug"
        default n
        depends on KMC_MODULE_AUTO && !KMC_PARTNER_AVAILABLE_OFF

        config KMC_PARTNER_VIRTUAL_ICE_OFF
        bool "OFF:PARTNER Virtual ICE Support"
        default n

        config KMC_PARTNER_COLLECT_THREAD_OFF
        bool "OFF:PARTNER THREAD COLLECTING"
        default n

        config KMC_TRACE_EXT_OFF
        bool "OFF:PROCESS TRACE ENHANCE"
        default n

    endmenu

endmenu
