1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/monitor/SHMReader.h
10 #ifndef AesalonMonitor_SHMReader_H
11 #define AesalonMonitor_SHMReader_H
18 #include "shm/Header.h"
25 std::string m_shmName
;
27 SHM::Header
*m_header
;
29 uint8_t *m_zoneUseData
;
31 typedef std::vector
<uint8_t *> ZoneList
;
38 int32_t zoneWithData();
42 void readData(uint32_t zoneID
, void *buffer
, uint32_t size
);
44 uint8_t *getZone(uint32_t id
);
45 void *mapRegion(uint32_t start
, uint32_t size
);
46 void unmapRegion(void *data
, uint32_t size
);
48 void setupConfiguration();
52 } // namespace Monitor