system.hh (11538:55014a40512c) system.hh (12090:11d69759b378)
1/*
2 * Copyright (c) 2010-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 118 unchanged lines hidden (view full) ---

127class DumpStatsPCEvent : public PCEvent
128{
129 public:
130 DumpStatsPCEvent(PCEventQueue *q, const std::string &desc, Addr addr)
131 : PCEvent(q, desc, addr)
132 {}
133
134 virtual void process(ThreadContext* tc);
1/*
2 * Copyright (c) 2010-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 118 unchanged lines hidden (view full) ---

127class DumpStatsPCEvent : public PCEvent
128{
129 public:
130 DumpStatsPCEvent(PCEventQueue *q, const std::string &desc, Addr addr)
131 : PCEvent(q, desc, addr)
132 {}
133
134 virtual void process(ThreadContext* tc);
135 protected:
136 virtual void getTaskDetails(ThreadContext *tc, uint32_t &pid,
137 uint32_t &tgid, std::string &next_task_str, int32_t &mm);
138
135};
136
139};
140
141class DumpStatsPCEvent64 : public DumpStatsPCEvent {
142 public:
143 DumpStatsPCEvent64(PCEventQueue *q, const std::string &desc, Addr addr)
144 : DumpStatsPCEvent(q, desc, addr)
145 {}
146 private:
147 void getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid,
148 std::string &next_task_str, int32_t &mm) override;
149};
137
150
151
138#endif // __ARCH_ARM_LINUX_SYSTEM_HH__
139
152#endif // __ARCH_ARM_LINUX_SYSTEM_HH__
153