[PATCH v2 0/7] perf tools: cleanups, fixes, updates

From: Robert Richter
Date: Wed Dec 07 2011 - 04:03:17 EST


The patch set contains some cleanups, fixes and updates I found worth
to implement during code review. Some patches can be applied
independently.

v2:

* Rebased version to latest tip/perf/core.

* Removed patches #1 and #2 as they are already applied.

* Dropping patch "perf report: Setup browser if stdout is a pipe", the
patch did not properly handle ^C to terminate profiling.

* perf record throws an error now if buildids may not be generated,
which can be disabled with the --no-buildid option.

* Prevent potential null pointer access to input_name in
builtin-report.c. Needed due to removal of patch "perf report: Setup
browser if stdout is a pipe"

Robert Richter (7):
perf tools: Continue processing header on unknown features
perf tools: Fix out-of-bound access to struct perf_session
perf tool: Moving code in some files
perf report: Accept fifos as input file
perf tool: Unify handling of features when writing feature section
perf tools: Improve macros for struct feature_ops
perf tools: Use for_each_set_bit() to iterate over feature flags

tools/perf/Documentation/perf-annotate.txt | 2 +-
tools/perf/Documentation/perf-buildid-list.txt | 2 +-
tools/perf/Documentation/perf-evlist.txt | 2 +-
tools/perf/Documentation/perf-kmem.txt | 2 +-
tools/perf/Documentation/perf-lock.txt | 2 +-
tools/perf/Documentation/perf-report.txt | 2 +-
tools/perf/Documentation/perf-sched.txt | 2 +-
tools/perf/Documentation/perf-script.txt | 2 +-
tools/perf/Documentation/perf-timechart.txt | 2 +-
tools/perf/builtin-annotate.c | 3 +-
tools/perf/builtin-buildid-list.c | 53 +-
tools/perf/builtin-evlist.c | 2 +-
tools/perf/builtin-kmem.c | 2 +-
tools/perf/builtin-lock.c | 2 +-
tools/perf/builtin-record.c | 7 +
tools/perf/builtin-report.c | 13 +-
tools/perf/builtin-sched.c | 2 +-
tools/perf/builtin-script.c | 4 +-
tools/perf/builtin-timechart.c | 4 +-
tools/perf/util/header.c | 663 +++++++++++-------------
tools/perf/util/header.h | 6 +-
tools/perf/util/include/linux/bitops.h | 118 +++++
tools/perf/util/session.c | 15 +-
tools/perf/util/session.h | 2 +-
24 files changed, 496 insertions(+), 418 deletions(-)

--
1.7.7


--
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/