Eric Sandeen wrote: > If no tracefiles are found, exit with non-0 status > > Resolves Red Hat Bugzilla #500118 > > Reported-by: Milos Malik <mmalik@xxxxxxxxxx> > Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> > --- Re-ping on this? Thanks, -Eric > > diff --git a/blkparse.c b/blkparse.c > index eec4952..db6a418 100644 > --- a/blkparse.c > +++ b/blkparse.c > @@ -2518,6 +2518,12 @@ static int do_file(void) > > for (cpu = 0; setup_file(pdi, cpu); cpu++) > ; > + > + if (!cpu) { > + fprintf(stderr,"No input files found for %s\n", > + pdi->name); > + return 1; > + } > } > > /* > > -- To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html