aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-03-01 08:21:23 -0500
committerRobert Richter <robert.richter@amd.com>2010-03-01 08:21:23 -0500
commitbb1165d6882f423f90fc7007a88c6c993b7c2ac4 (patch)
tree8ae1578c6d6ae548d1336cca86831e921f6236d3 /lib/libcrc32c.c
parenta163b1099dc7016704043c7fc572ae42519f08f7 (diff)
perf, x86: rename macro in ARCH_PERFMON_EVENTSEL_ENABLE
For consistency reasons this patch renames ARCH_PERFMON_EVENTSEL0_ENABLE to ARCH_PERFMON_EVENTSEL_ENABLE. The following is performed: $ sed -i -e s/ARCH_PERFMON_EVENTSEL0_ENABLE/ARCH_PERFMON_EVENTSEL_ENABLE/g \ arch/x86/include/asm/perf_event.h arch/x86/kernel/cpu/perf_event.c \ arch/x86/kernel/cpu/perf_event_p6.c \ arch/x86/kernel/cpu/perfctr-watchdog.c \ arch/x86/oprofile/op_model_amd.c arch/x86/oprofile/op_model_ppro.c Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions
span class="hl opt">= 'color blacktext solid linewidth 1.0' elif format == 'pdf': terminal = 'pdf' if term_opts is None: term_opts = 'color enhanced' if format != 'show': g('set terminal %s %s' % (terminal, term_opts)) g("set out '/dev/null'") if xlabel: g("set xlabel '%s'" % xlabel) if ylabel: g("set ylabel '%s'" % ylabel) if title: g("set title '%s'" % title) if xrange: g("set xrange [%s:%s]" % xrange) if yrange: g("set yrange [%s:%s]" % yrange) if xticks: g("set xtics %s, %s" % xticks) if yticks: g("set ytics %s, %s" % yticks) g('set key %s' % key) plot = [] for gr in graphs: par = (gr[0], gr[1], gr[2], gr[3], style) if len(gr) == 4 else gr plot += ["'%s' using %s:%s title '%s' with %s" % par] if plot: g('plot ' + ', '.join(plot)) if format != 'show' and fname: g("set out '%s.%s'" % (fname, format)) if plot: g('replot') if format != 'show' and fname: g('set out') return g def pipe2gnuplot(cmds): proc = Popen(['gnuplot'], stdin=PIPE) proc.stdin.write(str(cmds)) proc.stdin.close() proc.wait() def gnuplot(*args, **kargs): cmd = gnuplot_cmd(*args, **kargs) pipe2gnuplot(cmd) def eps2pdf(file): Popen(['ps2pdf', '-dEPSCrop', '%s.eps' % file]).wait() options = [ o('-f', '--format', action='store', dest='format', type='choice', choices=FORMATS, help='output format'), o('-o', '--output', action='store', dest='out', help='Output file name.'), o('-s', '--style', action='store', dest='style', type='choice', choices=STYLES, help='line style'), o('-t', '--title', action='store', dest='title'), o(None, '--xlabel', action='store', dest='xlabel'), o(None, '--ylabel', action='store', dest='ylabel'), o(None, '--xrange', action='store', dest='xrange', nargs=2, type='float'), o(None, '--yrange', action='store', dest='yrange', nargs=2, type='float'),