commit | bb194d09d18e7a7000b2ca743b943c74fb982e31 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Sun Sep 16 23:17:30 2012 +0900 |
committer | Chris E Ferron <chris.e.ferron@linux.intel.com> | Mon Sep 17 08:15:27 2012 -0700 |
tree | 63806c9a774f153a4b02b6b424e17205d0dd0557 | |
parent | eb58a133c3693fc1ef58b16ccb781fa00a761ffb [diff] |
perf: Pass 0 as a third argument to ioctl on perf_fd The third argument of PERF_EVENT_IOC_{ENABLE,DISABLE} ioctl is a flag to determine whether the command should be applied to group members. Since the powertop doesn't use the event grouping feature, it'd better passing 0 as a third argument explicitly. Signed-off-by: Namhyung Kim <namhyung@gmail.com>