New preference panel for CPU
[lttngtop.git] / src / lttngtoptypes.h
index 7e105f91a79dfca38692863413e141aeeff63f54..a4cb022252050fde7edc0df3abf472f5d1e95f47 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifndef LTTNGTOPTYPES_H
@@ -25,7 +24,6 @@ struct lttngtop {
        GPtrArray *process_table;       /* struct processtop */
        GPtrArray *files_table;         /* struct files */
        GPtrArray *cpu_table;           /* struct cputime */
-       GHashTable *perf_list;          /* struct perfcounter */
        unsigned long start;
        unsigned long end;
        unsigned int nbproc;
@@ -104,6 +102,7 @@ struct files {
        int oldfd;
        int device;
        int openmode;
+       int flag;
        unsigned long openedat;
        unsigned long closedat;
        unsigned long lastaccess;
@@ -154,7 +153,7 @@ struct vmas {
 struct syscalls {
        unsigned int id;
        unsigned long count;
-       unsigned int cpu_id;
+       uint64_t cpu_id;
        unsigned int type;
        unsigned int tid;
        unsigned int fd;
@@ -173,4 +172,12 @@ struct file_info {
        int status;
 };
 
+/* header for cputop display */
+struct cputopview {
+       char *title;
+       int visible;
+       int sort;
+       int reverse;
+};
+
 #endif /* LTTNGTOPTYPES_H */
This page took 0.022497 seconds and 4 git commands to generate.