diff options
Diffstat (limited to 'tools/perf')
| -rw-r--r-- | tools/perf/util/parse-events.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 4e0f5c2a9fda..c84f48cf9678 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c | |||
| @@ -699,14 +699,6 @@ static int get_event_modifier(struct event_modifier *mod, char *str, | |||
| 699 | int exclude = eu | ek | eh; | 699 | int exclude = eu | ek | eh; |
| 700 | int exclude_GH = evsel ? evsel->exclude_GH : 0; | 700 | int exclude_GH = evsel ? evsel->exclude_GH : 0; |
| 701 | 701 | ||
| 702 | /* | ||
| 703 | * We are here for group and 'GH' was not set as event | ||
| 704 | * modifier and whatever event/group modifier override | ||
| 705 | * default 'GH' setup. | ||
| 706 | */ | ||
| 707 | if (evsel && !exclude_GH) | ||
| 708 | eH = eG = 0; | ||
| 709 | |||
| 710 | memset(mod, 0, sizeof(*mod)); | 702 | memset(mod, 0, sizeof(*mod)); |
| 711 | 703 | ||
| 712 | while (*str) { | 704 | while (*str) { |
