Re: [Intel-gfx] [igt-dev] [RFC i-g-t] intel-gpu-top: Rewrite the tool to be safe to use

2018-03-29 Thread Tvrtko Ursulin
On 28/03/2018 21:11, Rinat Ibragimov wrote: Среда, 28 марта 2018, 21:30 +03:00 от Tvrtko Ursulin : +static struct engines *discover_engines(void)  { -uint32_t devid = pci_dev->device_id; -uint16_t gcfgc; +const char *sysfs_root = "/sys/devices/i915/events"; Just a

Re: [Intel-gfx] [igt-dev] [RFC i-g-t] intel-gpu-top: Rewrite the tool to be safe to use

2018-03-28 Thread Rinat Ibragimov
>Среда, 28 марта 2018, 21:30 +03:00 от Tvrtko Ursulin : > >+static struct engines *discover_engines(void) > { >-uint32_t devid = pci_dev->device_id; >-uint16_t gcfgc; >+const char *sysfs_root = "/sys/devices/i915/events"; Just a question. I think, I have Linux 4.15.11