perf tools: Basic support for CGROUP event
[linux-2.6-microblaze.git] / tools / lib / perf / include / perf / event.h
index 1810689..69b44d2 100644 (file)
@@ -105,6 +105,12 @@ struct perf_record_bpf_event {
        __u8                     tag[BPF_TAG_SIZE];  // prog tag
 };
 
+struct perf_record_cgroup {
+       struct perf_event_header header;
+       __u64                    id;
+       char                     path[PATH_MAX];
+};
+
 struct perf_record_sample {
        struct perf_event_header header;
        __u64                    array[];
@@ -352,6 +358,7 @@ union perf_event {
        struct perf_record_mmap2                mmap2;
        struct perf_record_comm                 comm;
        struct perf_record_namespaces           namespaces;
+       struct perf_record_cgroup               cgroup;
        struct perf_record_fork                 fork;
        struct perf_record_lost                 lost;
        struct perf_record_lost_samples         lost_samples;