1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
static const struct the_menu_item menuitems[] = {
        { "View OS stacks", dbg_os },
#ifdef HAVE_DIRCACHE
        { "View dircache info", dbg_dircache_info },
#endif
#ifdef HAVE_TAGCACHE
        { "View database info", dbg_tagcache_info },
#endif
#ifdef HAVE_LCD_BITMAP
#if CONFIG_CODEC == SWCODEC
        { "View buffering thread", dbg_buffering_thread },
#elif !defined(SIMULATOR)
        { "View audio thread", dbg_audio_thread },
#endif
#endif
#ifdef ROCKBOX_HAS_LOGF
        {"Show Log File", logfdisplay },
        {"Dump Log File", logfdump },
#endif

#ifndef SIMULATOR
        { "View HW info", dbg_hw_info },
        { "View I/O ports", dbg_ports },
        { "View partitions", dbg_partitions },
        { "View disk info", dbg_disk_info },
#if (CONFIG_STORAGE & STORAGE_ATA)
        { "Dump ATA identify info", dbg_identify_info},
#endif
#if CONFIG_TUNER
        { "FM Radio", dbg_fm_radio },
#endif
#if defined(PM_DEBUG) && defined(HAVE_LCD_BITMAP)
        { "pm histogram", peak_meter_histogram},
#endif /* PM_DEBUG */
#if defined(HAVE_EEPROM) && !defined(HAVE_EEPROM_SETTINGS)
        { "Write back EEPROM", dbg_write_eeprom },
#endif
#if CONFIG_USBOTG == USBOTG_ISP1583
        { "View ISP1583 info", dbg_isp1583 },
#endif
#if defined(ROCKBOX_HAS_LOGF) && defined(USB_ENABLE_SERIAL) && \
    defined(HAVE_USB_STACK)
        {"USB Serial driver (logf)", toggle_usb_serial },
#endif
#ifdef CPU_BOOST_LOGGING
        {"cpu_boost log",cpu_boost_log},
#endif
        TARGET_DEBUG_MENU
#endif /* !SIMULATOR */
    };