Re: [PATCH 05/41] perf tools: Identify which comms are from exec

From: Arnaldo Carvalho de Melo
Date: Wed Jul 23 2014 - 10:08:01 EST


Em Tue, Jul 15, 2014 at 02:43:08PM +0300, Adrian Hunter escreveu:
> >> @@ -106,6 +107,8 @@ int comm__override(struct comm *comm, const char *str, u64 timestamp)
> >> comm_str__put(old);
> >> comm->comm_str = new;
> >> comm->start = timestamp;
> >> + if (exec && !comm->exec)
> >> + comm->exec = true;

> > Why do you need the !comm->exec test?

> Dunno

I saw that you kept it in the last patchkit submitted, I'll just drop
it, needless obfuscation.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/