Skip to content

Commit

Permalink
Add new validation_privileged category
Browse files Browse the repository at this point in the history
Which I can't spell.

Move the uncore test there.
  • Loading branch information
deater committed Nov 6, 2012
1 parent 67bc677 commit ca31084
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
4 November 2012
+ Make new validation_privileged category

25 October 2012
+ Add uncore test

14 September 2012
+ Add simultaneous_group_overflow test
+ Add simultaneous_overflow
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ all:
cd crashes && make
cd generalized_events && make
cd validation && make
cd validation_privileged && make

papi:
cd papi && make
Expand All @@ -17,5 +18,6 @@ clean:
cd crashes && make clean
cd generalized_events && make clean
cd validation && make clean
cd validation_privileged && make clean
cd papi && make clean
cd include && make clean
4 changes: 2 additions & 2 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ echo "* Checking offcore response events"
./validation/offcore_response

echo
echo "* Checking uncore events"
./validation/uncore_events
echo "* Checking events that require special permissions"
./validation_privileged/uncore_events

echo
echo "* Checking basic perf_event functionality"
Expand Down
44 changes: 44 additions & 0 deletions validation_privileged/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
CC = gcc
CFLAGS = -Wall -O2 -I../include
LFLAGS =

all: \
uncore_events


###

../lib/test_utils.o: ../lib/test_utils.c
cd ../lib && make

../lib/branches_testcode.o: ../lib/branches_testcode.c
cd ../lib && make

../lib/matrix_multiply.o: ../lib/matrix_multiply.c
cd ../lib && make

../lib/perf_helpers.o: ../lib/perf_helpers.c
cd ../lib && make

../lib/detect_cache.o: ../lib/detect_cache.c
cd ../lib && make

###

uncore_events: uncore_events.o ../lib/test_utils.o \
../lib/perf_helpers.o \
../lib/matrix_multiply.o
$(CC) $(LFLAGS) -o uncore_events uncore_events.o \
../lib/test_utils.o \
../lib/perf_helpers.o \
../lib/matrix_multiply.o

uncore_events.o: uncore_events.c
$(CC) $(CFLAGS) -c uncore_events.c


clean:
rm -f *~ *.o \
uncore_events


File renamed without changes.

0 comments on commit ca31084

Please sign in to comment.