Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6245

Add mutex section to diaginfo

XMLWordPrintable

    • Sprint 69 (Oct 2020), Sprint 70 (Nov 2020)
    • 0.5

      When analyzing strace logs mapping futex calls to zabbix cache (on other) locking is not trivial. To make it easier a new diaginfo section must be added to dump addresses of Zabbix mutexes. While it would not be exact match of the futex call parameters, it would be easy to map zabbix locks to futex call parameters. The mutex section format will be:

      {
        "locks": [
          {
            "ZBX_MUTEX_LOG": "0x123456780"
          },
          {
            "ZBX_MUTEX_CACHE": "0x123456781"
          },
          {
            "ZBX_MUTEX_TRENDS": "0x123456782"
          },
          {
            "ZBX_MUTEX_MODBUS": "0x123456783"
          },
          {
            "ZBX_RWLOCK_CONFIG": "0x123456790"
          }
        ]
      }
      

            vso Vladislavs Sokurenko
            wiper Andris Zeila
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: