None of [the books at Great Smials] was written by Peregrin, but he and his successors collected many manuscripts written by scribes of Gondor: mainly copies or summaries of histories or legends relating to Elendil or his heirs”
[All quotations sourced from Note on the Shire Records, Prologue, LotR].