From 532a5e2a04ab0f71bd32f2b3578c586648a05d48 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 17 Oct 2011 09:10:24 -0200 Subject: [PATCH] --- yaml --- r: 269099 b: refs/heads/master c: b2b7e9eb2983e24b0296a93171f811d95f044fbc h: refs/heads/master i: 269097: 4ab8b24bdec20d027c7bbf9484e9af5fba445a4e 269095: c8fad62a08652c00b7cf2a6429acf5d5fdae3138 v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-top.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9e3f1ce1348d..8432acabc5da 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b079d4e975b6338bcf8f8868eb2b3d3fd867b933 +refs/heads/master: b2b7e9eb2983e24b0296a93171f811d95f044fbc diff --git a/trunk/tools/perf/builtin-top.c b/trunk/tools/perf/builtin-top.c index bf368f1663d1..7a871714d44e 100644 --- a/trunk/tools/perf/builtin-top.c +++ b/trunk/tools/perf/builtin-top.c @@ -438,6 +438,7 @@ static int key_mapped(int c) case 'S': return 1; case 'E': + return top.evlist->nr_entries > 1 ? 1 : 0; default: break; }