Messages in this thread | | | Subject | Re: [PATCH 3/3] perf, tools: Add support for guest/host-only profiling | From | Peter Zijlstra <> | Date | Tue, 10 May 2011 16:50:08 +0200 |
| |
On Tue, 2011-05-10 at 16:35 +0200, Joerg Roedel wrote: > @@ -740,6 +740,12 @@ parse_event_modifier(const char **strp, struct perf_event_attr *attr) > if (!exclude) > exclude = eu = ek = eh = 1; > eh = 0; > + } else if (*str == 'G') { > + eg = 0; > + ehst = 1; > + } else if (*str == 'H') { > + eg = 1; > + ehst = 0;
This doesn't match the existing exclude logic, also eH and eG come to mind.
| |